Font Size: a A A

The Java Lightweight Architecture In E-commerce System And,

Posted on:2009-09-06Degree:MasterType:Thesis
Country:ChinaCandidate:G Y ZhangFull Text:PDF
GTID:2208360245456012Subject:Computer applications
Abstract/Summary:PDF Full Text Request
In recent years,there has been greater demands for application Systems based on Web to meet more complicated requirements,shorter R & D time.So the application of Web which has better development,maintainability,expansibility,repeatability and easy management,is the hotspot of the Web technology.At present according to the Web application of J2EE terrace at logical is been divided into 4 F generally:Domain Model Layer,Presentation Layer,Business Layer and Persistent Layer.This kind of multi-layer system structure provided 1 kind according to the module toward the developer of the mold piece of design and development Web application turn a method.Applied carry out of each layer of system technique is varied and grow techniques to all have it the merit and shortcoming each time with the most suitable use of scope,how choose each technique and how combine these techniques to carry out an applied system is a worthy of consider further of problem.This text mainly aims at to mean a layer,business layer with held out for long time the realization of layer to put forward according to the Struts+Spring+Hibernate solution.Struts is a framework of implementing MVC pattern and strives for reusing module and code,it relieves burden for constructing Web application by its flexible and powerful function.Differentiating strong invasion of EJB,Spring which is a lightweight container is designed with dependency injection and can make component loose coupling dynamically and compatible with other framework.Hibernate is an open source persistence framework,which entirely reduces the complexity of maintaining data and make system have higher performance and portable.The paper is based on the Web development methods of J2EE architecture.Firstly,discuss the MVC module and the discuss of internal mechanism of Struts architecture which implementing MVC pattern;Secondly,I applied the Struts to the presentation layer,applied the Hibernate to the persistence layer,applied the Spring to the business layer,conformed in framework and constructed a flexible,loosely coupled,extensible and high performance developing architecture.Finally,an example based on Liang Zhuang E-Commerce System is introduced to illustrate the process to build an multi-tiers system with the help of the architecture.Results show that this new framework helps to increase work efficiency in exploration.Meanwhile,expansibility and maintainability of the system within this framework are also satisfactory.
Keywords/Search Tags:E-Commerce, Struts, Spring, Hibernate, architecture
PDF Full Text Request
Related items