Font Size: a A A

J2ee Lightweight Architecture Research And Application

Posted on:2011-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:S L HouFull Text:PDF
GTID:2208360308466245Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the large-scale J2EE technology applied, a number of outstanding lightweight frameworks have emerged from presentation layer to business logic layer, even to the data persistence layer. We can get a powerful technical support for these frameworks when we develop lightweight J2EE applications. Lightweight J2EE application is to simplify the application of the classic J2EE. Based on retaining the classic good scalability and maintainability of J2EE application architecture, it simplifies J2EE application development, reducing the cost of enterprise deployment of J2EE applications.The thesis analyzes the traditional J2EE architecture technology problems, and thus leads to the concept of lightweight J2EE architecture. And then we summarize the characteristics and advantages of a lightweight J2EE framework. After studied deeply on Struts2, Spring and Hibernate, we use Struts2 + Spring + Hibernate based lightweight solution for the feature of the presentation layer, business layer and persistence layer. Struts2 is a realization of the MVC model of Web application framework, which reduces the complexity of building multi-storey web applications, and its business logic is managed by the Spring. Different from the EJB's strong invasive, Spring is a lightweight IoC container, which uses dependency injection system to decrease the coupling between the various components, and with seamless integration of other frameworks. Based on O/R mapping persistence framework Hibernate reduces the overall persistence of the data complexity of the system, which has a good portability. Then next, we introduce the principle of design patterns and J2EE core design patterns. After that, we describe some applications of design patterns in the framework of the technology.Based on the above technical content, we design the operations in the presentation layer, business logic and data persistence layer respectively after a comprehensive needs analysis for this associative learning and memory in the English platform. We use the lightweight framework to develop system for the feature of the project. Separated the design of page and application logic by using the Struts2 framework, it can enhance the maintainability of presentation layer. To coordinate the performance of data access layer controller and the relationship between objects we use Spring framework in the business logic layer, which can reduce coupling between the persistence layer and data layer. At the same time, we use Hibernate framework to complete data persistence operations.Through the implementation of the system shows the lightweight framework can not only solve the problems in the development of the traditional web application system, and also the system has a good maintainability, extend and portability using hierarchical and modular in system design. We also demonstrate the feasibility of lightweight solution.
Keywords/Search Tags:Struts2, Spring, Hibernate, J2EE, Design Pattern
PDF Full Text Request
Related items