Construction and Application of Lightweight J2EE Framework
- Author
- ShenQingFeng
- Advisor
- DuanFu
- School
- Taiyuan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 150
- Citations
- 1
Abstract
Occupies a very significant position in e-commerce and enterprise applications software development, J2EE technology. Traditional-based the EJB J2EE architecture advantage is its advanced J2EE features and distributed applications, and for those who do not need these advanced features to support the application system, J2EE must be more complex development and configuration, it is bound to slow down development, increase development costs. Papers on the basis of the the J2EE framework technical literature review, analysis of the traditional exposed the flaws in the current e-commerce and enterprise development based on the EJB J2EE framework and technology based on a number of open-source framework lightweight J2EE development framework solutions, and architecture successfully developed the online bookstore system. The practical results show that the system has the platform independence, maintainability, scalability, portability and reusability of components, and then verify the effectiveness of the lightweight J2EE development framework. Thesis work are as follows: (1) specific analysis Struts, Spring, Hibernate in the role of the different levels of the hierarchy lightweight Web applications, and integration of the three frameworks, design a suitable enterprise Web applications, Java General architecture. The architecture of the business logic in Struts to Spring management, related with Spring beans configuration is complete; Hibernate for data persistence management by the Spring Hibernate transaction management. (2) on the basis of the analysis of the core mechanism of the lightweight container, which focus on the implementation strategies and characteristics of Inversion of Control pattern. Papers Spring lightweight container for business layer component management provides an effective tool to achieve the business layer components and containers, low coupling between components and components, while improving the flexibility of the application development and testability. (3) the use of the design, architecture, the development of the online bookstore system. Presentation layer based on Struts Framework, and use JSTL, Validator, Tiles and other components; business logic layer based on the Spring Framework, AOP, IoC component; persistence layer using Hibernate framework to achieve. By Spring integration layers resources, use of the the DAO way and data persistence layer interaction, and to provide services to the presentation layer to Service. The papers taken a variety of ways to improve the framework performance introduced the cache components EHCache and database connection pooling component Proxool. By setting the caching mechanism, greatly improve the performance of the system.
Table of contents
Abstract 3-5
ABSTRACT 5-10
first chapter 10-17
1.1 Background 10-13
1.2 Research 13-15
1.3 The purpose of the research and the main content 15
1.4 thesis structure 15-17
applications technology introduction and analysis 17-31
2.1 software architecture 17-18
2.2 J2EE design pattern analysis 18-25
2.3 framework technology analysis 25-26
2.4 lightweight container and Inversion of Control pattern 26-31
2.4.1 lightweight container Overview 26-27
2.4.2 Inversion of Control mode principle 27-31
Chapter of the existing framework technology 31-42
3.1 Spring framework 31-38
3.1.1 Spring Overview 31-32
3.1.2 BeanFactory 32-35
3.1.3 bean class 35-37
3.1.4 ApplicationContext 37-38
3.2 Hibernate framework 38-39
3.3 Struts framework 39-40
3.4 framework integration solutions 40-42
Chapter system design 42-54
4.1 system design 42-45
4.2 presentation layer design 45-48
the 4.2.1 control layer design 45-47
4.2.2 Model layer design 47-48
4.2.3 display layer design 48
4.3 business layer design 48-49
4.4 persistence layer design 49-51
4.5 Domain Model design 51-53
4.6 framework integration formation system architecture 53-54
architecture applications achieve 54-73
5.1 Project Background 54-55
5.2 project needs analysis 55-60
5.2.1 system functional modules 55-58
5.2.2 database design 58-60
5.3 system to achieve 60-69
5.3.1 system development environment 60-61
5.3.2 system framework for the integration of configuration 61-65
5.3.3 Domain layer to achieve 65
5.3.4 DAO layer to achieve 65-67
5.3.5 business layer to achieve 67-68
5.3.6 Web layer to achieve 68-69
5.4 system performance analysis and optimization 69-73
5.4.1 system cache configuration 69-71
the 5.4.2 database connection pool design 71-73
Chapter Summary and Outlook 73-76
6.1 This article summarizes 73
6.2 lack of papers at 73-76
the
References 76-80
Acknowledgements 80-81
to
pursuing degree during the academic 81
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and implementation of no warehousing logistics management platform based on SSH
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Personnel Management System
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City
- The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
- The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
- The Implementation of Office Automation Based on Osworkflow and Open Source Frame
- The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
- Research and Design of SSH-based University Equipment Share Management Platform
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- The Application of an Improved Access Control Model in Authority Management Module
- The Design and Implementation of Site Information Management System for 3G Network
- Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
- Research on the Traditional Chinese Medicine Product Management System on Spring
- Design and implementation of assets management system based on B/S framework of enterprise
- The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
- Design and implementation of community management and exchange platform based on JAVA
- The Design and Implementation of Port Security Management Information Systems
- The Design and Implementation of Personnel Management System Based on SSH