Font Size: a A A

Research And Implementation Of Building Web Application Based On Struts And Hibernate

Posted on:2008-11-13Degree:MasterType:Thesis
Country:ChinaCandidate:X S ZhaoFull Text:PDF
GTID:2178360215488085Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
With the rapid development of network and the wide use of J2EE platform, the multi-layer Web structure based on B/S becomes the mainstream of the Web application. But there are still several disadvantages as low software reusability and difficult maintenance in exploitation. Therefore, how to organize software by using a better architecture,good design patterns and reusable framework in developing Web application has become one of hot spots in the development of Internet technology and a field that is well worth studying.Struts is one of the most popular frameworks in Web application, it combines a group of cooperated class,Servlet and tag library into a united framework, which brings the ability of MVC into full play. Therefore, Struts can divide any complicated Web application into Model, View and Controller, which help us improve reusability and expandability of application. Besides, as an excellent persistent layer framework, Hibernate provides powerful object to relational data mapping service, which makes operation full object-oriented with the mapping mechanism. Consequently, it will be helpful to decrease the difficulty of exploitation greatly in business model by taking advantage of Hibernate to support the Model part of Struts. This paper integrates Struts with Hibernate and provides an entire solving scheme of enterprise application which is flexible to exploit, low coupling and easy to maintain.This paper firstly describes the architecture and principle of Struts framework basing on the introducing of the ordinary model of Web systems exploitation and MVC model. Secondly, through posing the conception of data persistence layer, this paper introduces the operating mechanism of Hibernate. Thirdly, through an example of applying Struts and Hibernate framework to Management System of Reimbursement in Socialized Medicine, this paper analyzes in detail the application of Struts and Hibernate framework into practical developing process. At last, it improves the query cache of Hibernate and has got a satisfied result through testing.
Keywords/Search Tags:Struts, Persistence Layer, Hibernate, Object-Relation Mapping, Cache
PDF Full Text Request
Related items