Font Size: a A A

Design And Implementation Of Web Application System Among Struts2 Framework

Posted on:2011-10-31Degree:MasterType:Thesis
Country:ChinaCandidate:X LiFull Text:PDF
GTID:2178360308482520Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
At present, as Internet rapidly develops, web application is becoming more and more widely used. However, it is very common that programs in the existing web application systems are with the problems of low reusablity, complicated maintenance and bad adaption. As the requirements of web application is getting more and more complicated, the developing cycle is increasingly pressing and the requirements for the system s stability, ability of extension and maintainability is increasingly advanced,so,how to separate a Web application into several layers reasonably,the framework's integration of each sub-tier and selection of appropriate development technology has become more and more important.To solve these questions,this thesis study and research Struts2 framework,Spring framework,Hibernate framework deeply,and combining with investigations of current n-tier architecture of Web application development. As an open source web framework,Struts2 is a standard implementation of MVC design pattern.It provides a reusable software framework and makes it easy to build n-tier Web application. Spring is a very good framework in the J2EE field,it provides a lightweight IoC container which is responsible for the creation and management of application components.From the front-end controller, to business logic components in the middle layer, as well as the DAO components in the bottom layer,they are under the management of Spring container by low-coupling way. Hibernate framework is an open source data persistence layer framework,programmers can manipulate database by object programming idea and pay attention on object programming and class programming.It improves database visitation's flexibility greatly.This thesis's key expatiation is following:A powerful layers model to develop Web application based on Struts2 framework, Spring framework and Hibernate framework is designed,and the Web application system which is built with the layers model based on Struts2 framework has better robustness,maintainability,extensibility, reusability and better user experience.Auction is a main way in the purchasing and the selling transactions. With the fast development of Internet technology, the electronic commerce which based on the Internet also develops very quickly. The auction pattern has become an important part of the electronic commerce, as it makes full use of the characteristic of Internet and creates an unprecedented large market, so it has been wildly recognized. As for the merchant, purchasing and selling goods on-line in the form of auctions has great attraction to them, because in this way they can purchase and sale without considering the limitation of time and the space, further more, they can reduce the operation cost effectively and enhances efficiency. Meanwhile, in the technical aspect, almost all the products based on the J2EE platform can be operated in any operating system and the hardware disposition.Based on the research done above,therefore, considering the behavior of the electronic auction, this topic has developed an electronic auction system which based on the Struts2. After analyzing the operation service flow of the electronic auction system seriously, we put forward to use the Struts,Spring,Hibernate lightweight overhead construction frame to realize the system corresponding function and the modular structure. In the procedure of development,combining with the author's practical development experiences, based on the improved layers model,through fully introducing the electronic auction system pattern, the flow, the function as well as the realization of the portal frame construction, it manifests the superiority of three light-weight overhead constructions in the application of developing the enterprise's level.
Keywords/Search Tags:Struts2, Spring, Hibernate, layers model, framework, Electronic auction system
PDF Full Text Request
Related items