Font Size: a A A

Lightweight Framework For Applied Research In The Online Shopping System

Posted on:2009-03-06Degree:MasterType:Thesis
Country:ChinaCandidate:L Q HuangFull Text:PDF
GTID:2208360245461124Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development in Internet, developing B/S structure based server application has been one of the most important areas in Web development, and has been used very widely. Moreover, there are many web technologies and framework have been developed or under development. However, with the maturity of J2EE platform, it definitely has a great future for those web applications.In the area of Enterprise-level Web development, SUN's J2EE platform acquired great reputation because of the robustness, securities and cross-platform with their product, and has been the De facto standard for Web based application system development. However, EJB component, the core technology in classic J2EE structure is too complicated, enhance it turns out that the design and deployment is extremely complex. Especially, for some lightweight web application development with EJB technology, it would probably make some simple questions complex. For the issues with such heavy container EJB, it is one of the hottest topics in Java industry that is to find some substitute of EJB and simpler and lighter web application structure. Some light application frameworks, such as Spring, are providing enterprise-level services with normal Java objects(POJO), which make that is no need to define and deploy complex EJB component to acquire the many services from J2EE platform and extremely simplifies the development of J2EE application systems. However, there still are challenges during the development. For instance, how to choose framework and construct the appropriate structures, and simultaneously effected each layer with loosely coupled ways.According to the issues above, this thesis gives a short introduction about J2EE structure, and analyzes the disadvantages of EJB container in lightweight development, and also introduces the J2EE framework, Spring, which is used to simplify J2EE application development. With the careful analysis on the characters and advantages of current mature frameworks, based on the analysis and design on real project, online shopping system, we choose framework Spring as core framework, Struts as the representation layer, and Hibernate as the persistence layer. We discussed how to integrate Struts, Spring and Hibernate to be a good structured system, and we hoped to achieve high efficiency, loosen coupled between layers. At the mean time that discussed the characters of each framework and decoupling of web layers, fast building and developing a multi-layer B/S online shopping systems, it has decreased complexity during development, shorten the development duration, and also created the privilege control AOP, which based on Spring AOP but out of Spring environment. Our development result shows that the whole system is cross-platform and improves the maintenance, extensiveness, portability and usability of components.
Keywords/Search Tags:J2EE platform, Web application, Lightweight framework
PDF Full Text Request
Related items