Font Size: a A A

Research And Application Of Struts Framework Based On MVC Model

Posted on:2011-07-05Degree:MasterType:Thesis
Country:ChinaCandidate:C H ZhangFull Text:PDF
GTID:2178360332457217Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In today's Internet age, in order to more easily and quickly design and develop Web applications, and to better solve the issue of business and display logic confusing in development process, Struts framework is referenced by based on MVC design pattern. Struts made a significant contribution to improve the development speed of Web application. If use Struts in the Web application, developers will save the time of start designing the framework, and then to concentrate on how to solve real business issues.Firstly, Struts and related technologies are detailed description to give readers the full understanding the role of Struts and related technology in Web application development. Then in according to an instance of the module in online bookstore to system, described the role of Struts in Web application, build up a complete, excellent Struts development framework.In this paper, the instance of the module named the online bookstore, which is based on J2EE multi-tier architecture to develop a Web application. In the base of fully understanding the system development background, after analyzing the advantages by compared with the traditional bookstore, we conducted a feasibility study on the system and to develop the overall framework of the system. The system include the user management module, which mainly to provide users with user name registration, modify personal information, and administrators operating functions which include both front and back-office processing, which mainly provide services front, the background to operate mainly by the administrator; Library management module, the administrator can remove and modify the information of books through this module, and new book information can be entered, displayed mainly in the list of books from the database query information; Book Search modules, administrator or general users can search and view the book information in the database through the module, book information is displayed in tabular form, the user can purchase and view the contents of books and other operations in the page; Book selection module, user can complete the process of buying books through this module, users can use temporarily store shopping cart to store the buying the book in purchase process. You can also modify the number of the buying book. Order processing module, this module mainly provide the administrator to view, delete modify the orders information in the database, at the same time, users can submit orders. User Help Center module, the user can obtain telephone to contact the administrator from the customer service module. The modules covering the online bookstore have several major advantages. When we describe the instance of the related technology used, we will also introduce a number of modules used in other frameworks and technologies. Focus to introduce how to set up the Struts framework and the role of Struts framework in the instance of the module. Paper describes the entity contents of the required database using of data dictionary, which includes the user table and book table.This paper will outline the overall Struts framework, set out the meaning of using Struts framework in the development of Web applications. Second, we introduce generally to development tools which are used in the development instance of the module and operating platform related to software. The database software of the system is DB2 that is developed by IBM. At the same time, system uses the Eclipse development platform, which is an open source, extensible application development platform, and provide programmers with an integrated Java development environment; Server is selected a good Servlet/JSP container that Tomcat server. Then we make a detailed introduction to related technologies used in the development of an instance of the module, including the system model B/S structure, Servlet, JSP, MVC, JDBC, Java language and related hardware and software technical support and content. This part is a focus of this paper, where the Struts framework will run each part of the components and processes to make a detailed description. Finally, we will describe the functions of the various parts of the instance of the module, and show examples of various parts of images; the same time, we can show the module role of the Struts framework in the instance of the module in accordance with the description of the Struts components and running processes in the previous chapter, this part is a focus in the paper, and will complete the study and application of Struts framework.
Keywords/Search Tags:Struts framework, MVC pattern, Servlet, JSP, tag
PDF Full Text Request
Related items