Font Size: a A A

Integrated The Hibernate, Spring And Struts-based Applications Research

Posted on:2007-10-28Degree:MasterType:Thesis
Country:ChinaCandidate:H M LuoFull Text:PDF
GTID:2208360185956067Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet, the application program of server based on Browser/Server is widely used. There are many technologies and frameworks in developing Web application. That 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. Invoking JDBC directly is the only way to access database in the beginning of Java development. 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.Frameworks and design patterns are very important technologies for software which are reused in J2EE. Framework can raise productivity of software by reusing. Almost all frameworks use one or more design patterns. How to choose frameworks to build the appropriate architecture for enterprise application. How to make each application layer interact in loose coupling way. Those problems challenge developers.As is stated above, this thesis did research on Struts, Spring and Hibernate frameworks, and analysed each framework's function in web application layer. An 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. Then, an AOP (Aspect Oriented Programming) without Spring framework is designed...
Keywords/Search Tags:Framework, architecture, design pattern, software reusability
PDF Full Text Request
Related items