Font Size: a A A

Design And Realization Of Vseaf2.0 Framework Data Persistence Layer Based On J2EE

Posted on:2009-04-24Degree:MasterType:Thesis
Country:ChinaCandidate:T ZhouFull Text:PDF
GTID:2178360278961267Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As the most popular distributed computing platform in nowadays, J2EE technology has become a core of an enterprises application system which is based on the Web. However, the multi-layer J2EE architecture improves the reusability of a software and decomposes the complexity of a problem, which meanwhile makes codes large and control relationships among layers more complicated. Thus people abstract the solutions of the similar problems to a lightweight framework. Different lightweight frameworks are chosen on different layers, which are combined to a Web whole framework, therefore greatly improving the efficiency of development.Today a straight SQL embedded or data access class is a solution for the mismatch of transient objects and persistent objects. On the data-persisted layer, a series of solutions appear in order to simplify the complex and repeated operations in the data-persisted process. It is important to choose a solution which is suitable for the project development in the aspect of function and performance.First, a multi-layer design concept of the J2EE is introduced in the paper, and then on this base, the basic component and pricnciple of the most popular lightweight frameworks for different layer are elaborated. Second, the advantages and disadvantages of different solutions on the data-persisted layer are emphatically analyzed, the process of data persistence is abstracted in detail, and the complications that influence the performance of the data persistence are summarized according to the detail, and the optimization measures are concluded correspondingly. On the specific database platform, performance tests of popular solutions of data persistence layer are preceded combined with the optimization measures, and test results are analyzed in detail and the business scene which different popular solutions adapted to, are conclueded. Aiming at the requirement of the data-persisted layer of the Vseaf2.0 framework, the design concept of the Spring DAO is analyzed, and combining the results of performance tests, the iBatis is chosen as the persistent solution. Finally, function illumination, processing flow and interface implementation of each module are elaborated. After the completion of design, performance test of the data persistence layer is done and the result showes that the design of the data persistence layer achieves the desired purpose.
Keywords/Search Tags:J2EE, LightWeight Framework, Data Persistance, Vseaf2.0, iBatis
PDF Full Text Request
Related items