Font Size: a A A

The Application Research Of Framework Based On Spring And Hibernate In Unicom Agriculture Information System

Posted on:2008-12-20Degree:MasterType:Thesis
Country:ChinaCandidate:K WangFull Text:PDF
GTID:2178360215958711Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
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. Those problems challenging developers are how to choose frameworks to build the appropriate architecture for enterprise application, and how to make each application layer interact in loose coupling way.As is stated above, this thesis leads into new frameworks-Spring and Hibernate after investigations of curren Web application multi-tier systems. Spring which is designed for solving the complexity of developing enterprise application program is a J2EE lightweight framework. Hibernate is an open source persistence framework, it reduces the complexity of developing database and make system portable. The thesis did deep research on realization principle of these two frameworks, and analyzed each framework's function in web application layer. Then the architecture is integrated with the two frameworks in order to be suitable for enterprise web application developing. The integrated architecture divides three layer: view layer,business layer and persistence layer. The architecture hands business layer managing to Spring, also Spring controls view layer and data access object comes from persistence layer. The work of Hibernate is to make data persistence.An example of Unicom Agriculture Information System is introduced to illustrate the process to build a practical item with the architecture integrated Spring and Hibernate frameworks. The result shows that first, spring framework based on IoC and AOP mechanism avoids strong intrusiveness of EJB to business logic, second, the architecture integrated Hibernate achieves the function of O/R mapping simply, reducing the complexity of developing. The system doesn't depend on platform and has the characteristics of high maintainability, expansibility, and reusability.
Keywords/Search Tags:Framework, J2EE, Spring, Hibernate
PDF Full Text Request
Related items