Font Size: a A A

Construction And Application Based On Lightweight J2EE Framework

Posted on:2008-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:B LiuFull Text:PDF
GTID:2178360215982634Subject:Computer applications
Abstract/Summary:PDF Full Text Request
The MVC design pattern separate business logic and the way of data presentation has the advantage in developing multi-tier web application. Struts which implements MVC pattern is a web application framework and it lessen the burden of building multi-tier web application. Lightweight container is designed with dependency injection and can make main component loose coupling dynamically. Spring which is designed for solving the complexity of developing enterprise application program is a multi-tier J2EE lightweight framework. The persistence frameworks which are well-designed and encapsulate JDBC acts enhance the efficiency of data access and get much better performance by cache mechanism. Hibernate is an open source persistence framework, it reduces the complexity of developing database and make system portable.As is stated above, this thesis did research on Struts, Spring and Hibernate frameworks, and analyzed each framework's function in web application layer. Architecture is integrated with the three frameworks which is suitable for enterprise web application. The architecture hands business logic of Struts to Spring; utilize beans configuration to manage the related classes; manage objects' relation of between controller and data access object through Spring and make data persistence by Hibernate. This thesis made did deep analysis and research on coupling of integration between Spring and Struts and put forward a solution to loose coupling of integration. At last, a project is implemented by the designed architecture. The result show the system doesn't depend on platform has the characteristics of high maintainability, expansibility and reusability.
Keywords/Search Tags:Framework, design pattern, MVC, Struts, Hibernate, Spring
PDF Full Text Request
Related items