Font Size: a A A

Research And Implementation Of The Online Shopping System Based On Struts Framework

Posted on:2008-04-04Degree:MasterType:Thesis
Country:ChinaCandidate:C DuFull Text:PDF
GTID:2178360215474061Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of the Internet and global economic integration, the building of e-commerce is very important. In recent years, with the development of Internet technical, the network brings more and more conveniences to people's living in every aspect and also urges the informational development of the enterprise. At the same time the need of the business also promotes the web develop technical renewal. After experiencing CGI, ASP and JSP, the SUN company put forward the J2EE based on various techniques. It has become gradually mature and developed rapidly.In order to build up a successful system, we still need a lot of knowledge such as using design pattern In addition to learning the new technique. Design pattern is a set of code design summary that is used over and over again and known by majority. Using design pattern can attain the code reuse, make code more easily understood by others and guarantee the code is reliable. So the concept of design patterns is introduced in the realization of the system. The MVC pattern can overcome disadvantages of the development fashion of traditional web application .It separates the control of data and the view of data so as to meet the demand to the multi-layer web application complicated more and more. So the MVC pattern is the first choice of developing the J2EE web application.In the part of basic theory, based on the online shopping system as a background, at first the paper briefly introduce the need for the establishment of e-commerce, web application architecture and the advantages of construction of the web application based on the J2EE, secondly elaborate the two JSP programming model, the MVC model and the working principles of Struts framework. Lastly, the critical technologies is described in the application of web used Struts. Struts is an open source framework for building Java web application which was developed by apache software organization and is one of the most popular frameworks for web applications and developments nowadays. Struts achieves MVC application architectures based on the Model2 approach. It separates the view and the business logic forcibly, so it is propitious to the separation of the web designer and the programming designer, and it improves the reusability, agility of the code and the quality and maintainability of software using the framework. And so the high quality, reusable and extensible e-commerce system can be developed.On the basis of the study of Struts technology, these technologies are to use to construct an online shopping system. The paper laid emphasis on system realization. Firstly, IDE was constructed. In the next, the paper described how to use struts to implement the model, view and controller for MVC. The System realized such function as the register and login of users, the merchandise browsing, the purchase of goods, order processing and other major feature. According to depiction of the paper, using the pattern of Struts MVC based on J2EE in the development of web application, which can realize the isolation of business logic and display pages, simplify the work of each stage, normalize the development of whole system and increase the code quality and the system efficiencies.
Keywords/Search Tags:J2EE, MVC, Struts, DAO, e-commerce
PDF Full Text Request
Related items