The Research and Application of the Lightweight Container for J2EE
- Author
- WuQing
- Advisor
- XiaHongXia , ZhongZuo
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 67
- Citations
- 0
- Aspect Oriented Programming
- Inversion of Control
- The non-functional requirements
- The Lightweight Container
Abstract
The realization of non-functional requirements mixes with the system functionality requirements, which will interfere with the design of designers in the design stage and confuse the codes of coders in development phase and make maintaining difficult in maintenance phase. And a mature system framework could reduce the work, limit the time of development, lower costs and enhance the maintainability and the scalability. So software development framework is one of the software engineering design principle.After analyzing the common non-functional requirements in the software system in this dissertation, we construct a more mature web framework with Spring framework and Aspect Oriented Programming. The strategies and concrete solutions are given to meet the common non-functional requirements in the system, such as data persistence, transaction management, right management and others. Finally, from the system architecture point of view, it promotes system architecture to meet the needs of enterprise-level after improved, combining the disadvantages of the former MyEc e-commerce system.This dissertation includes following several parts:(1) The dissertation has studied the services and the characteristic of the lightweight container ,and analyzed each advantage of the lightweight container and the EJB container.(2) The dissertation has studied the structure of the framework and the reasons for selecting Spring as a lightweight container. At the same time study the implementation and application strategy of Inversion of Control and Aspect Oriented Programming in Spring Framework.(3) The essence of the non-functional requirements is the common system-level cross-cutting concern. The dissertation has modularized the common cross-cutting concerns in software system in Aspect Oriented Programming and Inversion of Control in Spring Framework, in order to achieve the separation effects in logical process among all parts. Give the solutions of the four aspects, such as data persistence, transaction management, rights management and remote calling detailedly.(4) From the web layer、intermediate layer、business layer and lasting layer, the dissertation analyzes the problems which the former MyEc e-commerce system may meet, and gives the concrete solutions.(5) From the view of design patterns, the dissertation describes the advantages of the new system framework, and proves such advantages qualitatively.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-14
the
research 1.1 Background 10-11
1.2 research status 11-12
1.3 In this paper, the work done 12
1.4 papers organizational structure 12-13
1.5 This chapter Summary 13-14
Chapter 2 Introduction of lightweight containers 14-18
2.1 J2EE system structure 14-15
2.1.1 J2EE Technology Overview 14
2.1.2 J2EE four-layer model 14-15
2.2 lightweight container concept 15-16
2.2.1 container to provide the services 15-16
2.2.2 lightweight container characteristics 16
2.3 lightweight container and the EJB container compare 16-17
2.3.1 lightweight containers advantage of 16-17
2.3.2 an EJB's advantages 17
2.4 This chapter Summary 17-18
Chapter 3 Spring framework as lightweight containers are found; 18-29
3.1 Select Spring reasons 18
3.2 Spring overall framework 18-20
3.3 inversion of control mechanism 20-23
3.3.1 bus 20-22
3.3.2 IOC applications and significance 22-23
3.4 aspect-oriented programming 23-28
3.4.1 AOP concept 23-24
3.4.2 based IOC container implements AOP 24-25
3.4.3 bus 25-26
3.4.4 application of AOP and significance 26-28
3.5 This chapter Summary 28-29
Chapter 4, the use of AOP system non-functional requirements 29-45
4.1 data persistence 30-35
the
framework of 4.1.1 semi-automated IBatis 30-32
4.1.2 Data Access Object DAO mode 32-33
4.1.3 Spring convergence nbsp the IBatis configuration and the DAO implementation ; 33-35
4.2 transaction management 35-37
4.2.1 J2EE transaction management solutions 35-36
4.2.2 Declarative transaction management solutions 36-37
4.3 permissions management 37-40
4.3.1 Rights Management Strategy 37-39
4.3.2 Rights Management implementations 39-40
4.4 remote calls 40-44
4.4.1 Remote call solution 40-41
4.4.2 release remote service 41-42
4.4.3 to access remote services 42-44
4.5 of this chapter Summary 44-45
The
application of AOP nbsp reconfigurable MyEc systems; 45-65
5.1 System Requirements 45-46
5.2 original system architecture 46-47
of 5.3 original system architecture improvements necessity 47-50
5.3.1 Web tier 47
5.3.2 middle tier 47-48
5.3.3 business layer 48-50
5.3.4 persistence layer 50
5.4 improved system architecture 50-60
5.4.1 Web tier 51-57
5.4.2 middle tier 57-58
5.4.3 business layer 58-60
5.4.4 persistence layer 60
5.5 two architectures 60-61
5.6 System Performance Analysis 61-62
5.7 the Spring container MyEc system involved in the design mode 62-64
5.7.1 Design Patterns necessity 62-63
5.7.2 Spring framework and model-based relationship 63-64
5.8 This chapter Summary 64-65
Chapter 6 Summary and Outlook 65-67
6.1 Full Summary 65-66
6.2 Research Prospects 66-67
the
References 67-70
Acknowledgements 70-71
Appendix 71
Related dissertations
- The Research and Application of a Light-Weight Enterprise Architecture Based on Java
- The Research and Application of Light-Weight Enterprise Architecture Based on JavaEE Specification
- Based the Spring lightweight Web Framework and Implementation
- Performance Analysis Method Study of Loosely Coupled System Based on Aop
- Spring Framework Research and Application
- Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
- Technology Analysis and Application of the Spring Framework
- Applied Research of Spring in the Police Integrated Information System
- Research and Design of Digital Water Supply System in the Downstream Yellow River
- Aspect Oriented Based Product Derivation Method in Software Product Line and Its Supporting Tool
- Design and Experimental Study of Electro-hydraulic Servo Dynamic Testing Machine Control System
- Study on Parallel Programming Models
- Research on Dynamics and Control of Hydraulically Driven Flexible Robot Manipulators
- Single-Wheeled Self-Balancing Robot Modelling and Control
- Research on Object Deputy Programming Language
- Based on Web Service and the Eclipse Rich Client network management alarm system design and research
- The Research and Application of Component Mechanism Based on Castle Framework
- Research and Implementation of Lightweight Workflow Engine
- Research and Design of Highway Engineering Information Management System Based on J2EE
- AOP-based and reflective middleware architecture DI Research and Design