Font Size: a A A

Research On Enterprise Web Application Framework Based Struts+Spring+Hibernate

Posted on:2008-07-07Degree:MasterType:Thesis
Country:ChinaCandidate:J WangFull Text:PDF
GTID:2178360215451354Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the increasing popularity of the Internet, Web application is more and more important in MIS .The trend for the future is the quick migration from the application of a lot of PCs to Web and that from C/S pattern to B/S pattern in MIS.B/S pattern now has become the most widely used thechnology in Internet application development. The maturity of J2EE, offers the broader space for Web application development.According to the N-tier J2EE architecture, Web application is generally divided into three layers: view layer, business logic layer, persistence layer. Traditional JavaWeb development requires the developers to spend a lot of time and effort designing, to develop their own framework. Therefore, we use three frameworks: Struts is framework of view layer, Spring is framework of business logic layer, Hibernate is framework of persistence layer and all of these come from OpenSource.Struts provides for the development of a generic MVC a design model, and realizes model, controller, view with different modules. Two core mechanisms of Spring: IoC (Inversion of Control), lowers coupling of business modules; AOP, separate unrelated modules from business modules. Hibernate is a O/R Mapping, and coordinate object/relational paradigm mismatch.Main work to do and problems to solve of this dissertation: .1. Use Struts to structure View layer of web application, and improved Struts framework Coarse-grained, construct combineAction class to substitute several actions of one entity object.2. Use IoC and AOP of Spring to structure business layer of Web application.3. Use Hibernate to structure persistence layer of Web application, and make systematic analysis on the lazy load problem because of session close in development, give reasonable solution finally.The dissertation is based on Agriculture Project Construction MIS of Agriculture ministry, Struts+Spring+Hibernate combination framework has been successfully used in the system. The design and realization of the system based on SSH combination framework will be introduced in the forth, sixth chapter:...
Keywords/Search Tags:J2EE, Struts, Spring, Hibernate, Web Application Framework
PDF Full Text Request
Related items