Font Size: a A A

Research Of Application Based On Lightweight J2EE Framework

Posted on:2011-01-20Degree:MasterType:Thesis
Country:ChinaCandidate:Y D ChenFull Text:PDF
GTID:2178360308461905Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
The J2EE and.NET are two technical standards which widely used by enterprise applications. And with its strong portability, high reliability and other advantages, J2EE gradually occupied the market. The traditional J2EE architecture which centering on EJB, was considered be perfect at the beginning of the design. However, this consideration caused the application very complex and difficult to maintain and test. In the meantime, it raised the learning cost of the developers and reduced the development efficiency. With the continuous development of JAVA open-source movement, the emergence of lightweight frameworks effectively solved the series problem, and made J2EE applications more suitable for small and medium enterprise-class.This thesis analyzes the features and weaknesses of the traditional J2EE architecture in depth. And it analyzes the technology architecture and features of the lightweight framework as Struts2, Spring and Hibernate. Focus for their respective point of emphasis, it proposes the integration framework design of Struts2+Spring+Hibernate, and gives a concrete realization of the integration.The Struts2 based on MVC mode is in charge of the presentation layer processing. And the Spring implements the logic of the business layer. The Spring can achieve loosely coupled between each components and loosely coupled between the various layers by using its powerful IoC and AOP. As to the Hibernate framework, based on O/R Mapping technology, it is in charge of the persistence layer, and achieves the overall interaction with the database and object persistence. The integrated framework of SSH has features as multi-level and loosely coupled, and as well as the advantages of easy to test, easy to reuse and maintenance, easy to transplant, component reuse and etc.At last, based on the integrated framework of SSH, it completes the project of an On-line Mall. And it completes the coding and testing based on making comprehensive needs analysis and analysis by use cases.
Keywords/Search Tags:J2EE, Struts2, Spring, Hibernate, Lightweight Framework
PDF Full Text Request
Related items