Font Size: a A A

Research & Implementation Of DSCJ Lightweight Integration Framework Technology

Posted on:2010-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:K F MiaoFull Text:PDF
GTID:2178360278958848Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of network technologies,the applications of web system become more and more wide,and a variety of J2EE-based open source lightweight frameworks have been emerging one after another.From the point of view of the portability,scalability,maintainability,flexibility, efficiency and so on,How to choose lightweight framework for system architecture and application development,which have become a growing concern.Aiming at above-mentioned situations,this thesis has done an in-depth research on lightweight multitier architecture of J2EE.In the user interface tier,DWR framework based on AJAX technology is used and it's integrated with Spring framework,which can enhances user feelings.In the web tier,this paper analyses and compares Struts1.x and Spring MVC in the model,view,controller and other differences which are based on request-driven web framework.The advantages of Spring MVC are also compared.Doing research on event-driven Spring Web Flow framework which is integrated with Spring MVC, that can provide a comprehensive and flexible solution for the web tier.In the persistence tier,comparing a variety of common persistence schemes' shortcoming,and using JPA as a new persistence framework,so this can make persistence tier get rid of dependence on specific ORM persistence framework, and improve the portability of the system.In the query respect, doing an in-depth research on Compass search engine,and according to system and user habits,we design a query component based on entity,which is applied to system query. The query component replaces the traditional query program and provides a good scalability for inside web site search. Experiments show that Compass can increase 2-12 times efficiency of query,compared with the traditional query.In the basis of research on these frameworks of DWR,Spring MVC,Spring Web Flow,JPA and Compass,these frameworks are integrated and applied to practical project in this paper according to multitier architecture of J2EE.And they perform their respective function.Web tier is achieved with Spring MVC and Spring Web Flow.And Spring is responsible for work of the business logic layer to complete the business logic of application system,dependency injection,transaction management and other functions.And JPA mainly takes charge of data persistence layer,and it implements interactive with the database.Meanwhile,DWR framework is implemented asynchronous refresh on partial page of JSP.And Compass search engine is used to the query of system.It has been proved that DSCJ(DWR + Spring MVC + Spring Web Flow + Compass + JPA) architecture which is based on the above-mentioned technologies have a better scalability, portability,flexibility and efficiency,compared with the classic architecture such as SSH(Struts + Spring + Hibernate), ASSH(Ajax + Struts + Spring + Hibernate).With the help of DSCJ architecture,System development that we proposed has low coupling system-level,high reusability modules,which can greatly enhance the efficiency of development,and reduce cost of development and maintenance.
Keywords/Search Tags:DWR, Spring Web Flow, Spring MVC, Compass, JPA, DSCJ, Framework integration
PDF Full Text Request
Related items