Font Size: a A A

Research And Design Of The Lightweight Web Famework Based On The Spring

Posted on:2006-10-01Degree:MasterType:Thesis
Country:ChinaCandidate:P ChenFull Text:PDF
GTID:2168360155467246Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
At present, with the popularity of Internet and the increasingly extendibility of the complexity and scale in Web application, high flexibility, reliability and personality are needed, which brings a new challenge to the Web application.In existing Web Development, MVC design pattern offers the helpful train of thought in system view, controller and model layer of going on effective segregation and encapsulation. Thus there emerge many Web application framework based on MVC pattern at J2EE platform. But at the same time, the core criterion of J2EE—EJB has serious defect itself. It is too cumber for general Web application, and EJB's O/R mapping solution—Entity Bean has been proved an unsuccessful technology.So, in this paper a lightweight Web development framework—Spring has been introduced and has been recommend particular its two key mechanisms—IoC(DI) and AOP by analyzing its principle and realization. It also points out that the Spring framework based on this two key mechanisms can be suitable for the majority request of general Web application in the function, performance and structure. Because of the character of "no intrusiveness", Spring framework can easily integrated Hibernate to replace Entity Bean's O/R mapping solution.On this basis, this paper puts forward a kind of new Web application framework based on Spring—JM_Webapp framework,which integreated Spring framework and Hibernate.It divides view layer, business logic layer, persistance layer , date resource layer and domain objects layer . The Web system is designed according to the layer delamination principle strictly, it's better than other Web frameworks with two strongpoints. First, JMWebapp framework based on DI mechanism avoids strong intrusiveness of EJB to business logic layer. Second, the framework integrated Hibernate achieves the function of O/R mapping simply, which eliminates the "impedance mismatch" between RDB&OOD.Finally, the JM_Webapp framework is applied to the development OA system of NANJING BIAOPAI PLANT. The particular design and realization is provided in this paper, which offers "login function" that covered several modules and module of "resource management".
Keywords/Search Tags:Web application framework, Spring, IoC(DI), AOP, O/R mapping, Hibernate, JM_Webapp
PDF Full Text Request
Related items