A Solution of Data Persistence Based on Lightweight J2EE Framework
Hui Yin
Abstract
Hui Yin
Abstract
The data persistence layer's design plays an important role in the J2EE development environment.It provides business logic layer with the operation data interface,the performance of date persistence layer influences the performance of business logic layer and presentation layer directly.Based on the research of several current mainstream solutions of data persistence,presents the method of lightweight encapsulation JDBC and applies the DAO pattern to achieve transparent access to database,reduces coupling degree.The method uses the method of reflection and proxy mechanism of the Java language,follows the mature software engineering hierarchical structure design specifications,takes into account the reliable,safe and scalability requirements during framework design.Then gives the design and implementation process of the framework.Finally,according to a real example,it shows the advantages of applying this framework.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
The data persistence layer's design plays an important role in the J2EE development environment.It provides business logic layer with the operation data interface,the performance of date persistence layer influences the performance of business logic layer and presentation layer directly.Based on the research of several current mainstream solutions of data persistence,presents the method of lightweight encapsulation JDBC and applies the DAO pattern to achieve transparent access to database,reduces coupling degree.The method uses the method of reflection and proxy mechanism of the Java language,follows the mature software engineering hierarchical structure design specifications,takes into account the reliable,safe and scalability requirements during framework design.Then gives the design and implementation process of the framework.Finally,according to a real example,it shows the advantages of applying this framework.
Key concepts: Business logic, Computer science, Persistent data structure, Extensibility, Scalability, Java, Data access layer, Separation of concerns