Font Size: a A A

Design And Implementation Of Accounting Corporation WEB System Based On Struts And Hibernate

Posted on:2007-06-14Degree:MasterType:Thesis
Country:ChinaCandidate:C P WangFull Text:PDF
GTID:2178360182496262Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet, most current softwareapplication has been changed from C/S (Client/Server) to t B/S(Browser/Server). The way to deal with maintainability, portability andreuse of the software application for quickly changed requirement hasbecoming more and more important.Struts Framework and Hibernate Framework enhance themaintainability, portability and reuse of the Web Application. The paper ismainly about the design for an Accounting Corporation WEB System ,forexample to research the technical characteristics of Struts Framework andHibernate Framework.Struts can follow MVC design pattern to make Web Application simple,and realize code reuse to develop Web Application that can make use of theadvantages of JSP/Servlet. Hibernate is the most popular and complete opensource object/relational mapping solution for Java environments. UsingHibernate in the Struts Framework and adding persistence layer in the WebApplication can make developer focus on the business logic problems. SoStruts Framework and Hibernate Framework become the most popularresolution of Web Application.First of all, the paper gives a introduction of Struts Framework andHibernate Framework in the Accounting Corporation WEB System. Besidesthe detailed description of the developing technique applied StrutsFramework in MVC mode, it has also explained the workflow of Struts atthe same time:(1) The Servlet accepts the Client's request;(2) The Servlet saves the data received form HTML FORM to dataBean;(3) The logic Bean deals with data;(4) According to the logic Bean's handing result, the Servlet adjust touse the homologous JSP;(5) Create HTML in JSP, and return to the Client.We use Hibernate Framework to build the persistence layer. UsingHibernate, the developers can make persistence layer with Java'ssemanteme ,which including composition, inheritance, polymorphism andso on. Hibernate likes a bridge between Object Data and Relational DataBase.In the next part, the paper shows an example in the AccountingCorporation WEB System—Salary Calculating Subsystem, and describehow to design the system using Struts Framework and Hibernate Frameworkin detail.Finally, we summarize four advantages of developing WEB Applicationusing Struts Framework and Hibernate Framework.1. Portability: Because of the Hibernate well design, Hibernateprovides good support for DataBase. We can change differentDataBase in our system as long as changing Hibernate configurationparameters.2. Maintainability: Struts realizes MVC mode, and separates the viewdesign and business logic design. Hibernate separates business logicdesign and database design. So Struts and Hibernate make systemlow coupling and make sure system more maintainability.3. Rapid development: Struts and Hibernate make system lowcoupling, then the developers can focus on own model, developrapidly.4. Navigation: We can master the connection of each part in the wholesystem through struts-config.xml. It is helpful to maintenance later.In the development of Accounting Corporation WEB System, the use ofStruts Framework, designing persistence layer by Hibernate and theintegration of both are the key points of this project.
Keywords/Search Tags:Implementation
PDF Full Text Request
Related items