Font Size: a A A

Research And Application Based On Interconnection Among Loosely-coupled Web Framework

Posted on:2008-07-05Degree:MasterType:Thesis
Country:ChinaCandidate:J CuiFull Text:PDF
GTID:2178360215973760Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the increasing extension of Internet and enterprise informatization, there have been greater demands for application Systems based on Web to meet more complicated requirements, shorter R&D time cycle as well as higher system stability, expansibility, and maintainability. So a better design pattern and a reusable system framework have been the key issue of improving the efficiency and quality of software development.This thesis did deeply research on MVC design pattern and there popular open source frames. That MVC design pattern separate business logic and the way of data presentation, and Struts which implements MVC pattern lessen the burden of building multi-tier web application. Spring is a multi-tier J2EE lightweight framework. It is designed with dependency injection and can make main component loose coupling dynamically. Hibernate is an open source persistence framework which is encapsulate JDBC acts. It enhances the efficiency of data access and gets much better performance by cache mechanism. In addition, it reduces the complexity of developing database and makes system portable.By means of analyzing each framework's function in web application layer, this thesis put forward a n-tier systems model which is integrated with Struts, Spring and Hibernate: Struts for the presentation layer, Spring for the business layer, and Hibernate for the persistent layer. 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.Finally, an E-government project is implemented by the application of designed architecture. The result shows the feasibility of the integrated frame tactic, and the optimization for the portability, maintainability and performance.In a word, the use of Combinative Framework has theory meaning and practical value to complicated Web system development.
Keywords/Search Tags:Framework, Design pattern, Struts, Spring, Hibernate, Combinative framework
PDF Full Text Request
Related items