Research and Design of Service Framework Kernel Based on IoC and AOP
- Author
- HuangQiang
- Advisor
- LouXinYuan
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 151
- Citations
- 11
Abstract
Nowadays, products of application software are mostly based on PC. With the rapid development of the mobile communication network and the remarkable enhancement of the hardware performance of handset, as a useful supplement and extension for application softwares, the condition for both software and hardware for developing products on handset has been ready.In the development of the server systems, J2EE service architecture provides developers detailed specifications in design, integration, performance, security and reliability of the distributed system, which has become the mainstream architecture in current software development because of the improvement for system’ s agility and flexibility. It is also widely used because of its platform independency, transplantation, open architecture and security. But with the development of the Java language and J2EE architecture, people are gradually aware of that pure 00 could not solve all the problems in the system design, and the failure of many projects result from the heavy component of the J2EE architecture which brings difficulties in system’ s development and test. Recently, as the new software design approach, Inverse of Control (IoC) and Aspected Oriented Programming (AOP) were born and has become more and more popular, the idea of which were integrated into the system design and brought the new energy for the software system.This thesis is on the background of the framework FrameServer which is designed for wireless mobile data applications, the architecture and algorithms of the IoC and AOP are researched in depth. As the kernel of the FrameServer, an IoC based micro container and a dynamic AOP engine were implemented, also a MVC framework for FrameServer was established with MVC pattern, which provides concurrent access for multi-terminals.In this thesis, firstly, IoC pattern and AOP rising in software engineering are briefly introduced, and the design ideas and architecture of FrameServer framework are discussed. Then the corealgorithms of the IoC based micro container and the dynamic AOP engine are introduced with emphasis through the aspects of structure and performance. As well, the application of FrameServer framework in the development of wireless data system is introduced with an actual project "Shifang Tobacco Company Mobile Data Center" . Finally, the feature of FrameServer framework and the prospect of relevant technique development are explained as a conclusion.
Table of contents
Chapter 1 Introduction 9-13
1.1 subject background 9
the 1.2 research status and problems 9-11
1.3 This paper work done and the structural arrangements 11-13
Chapter 2 Inversion of Control (IOC) and aspect-oriented programming (AOP) 13-29
2.1 Inversion of Control (Inverse of Control. IoC) 13-22
2.1.1 components and services the 2.1.2 core issues 13-14
2.1.3 reversal on the 14th control mode and reverse control framework nbsp 14-18
2.1.4 Inversion of Control mode and other creational pattern; 18-22
2.2 aspect-oriented programming (Aspected the Oriented Programming.AOP) 22-29
2.2.1 AOP origin 22-23
2.2.2 AOP About 23-24
2.2. 3 AOP the terminology defined 24-25
2.2.4 is currently the most popular AOP engine compared 25-29
Chapter 3 FRAMESERVER architecture design 29 - 41
3.1 wireless mobile access, existing problems the 29-30
3.2 FrameServer system, structure and workflow 30-41
3.2.1 FrameServer system, the MVC sub frame 30-31
3.2.2 FrameServer, architecture the 31-33
3.2.3 FrameServer MVC, sub-frame process design 33-37
3.2.4 FrameServer of container management component classification and framework extensions 37-38
3.2.5 FrameServer, the AOP engine structural About 38-41
4 Chapter FRAMESERVER IOC micro container and core algorithms achieve 41-66
4.1 FrameServer the IoC micro container with inversion control mode 41-43 IoC
4.2 FrameServer's, micro-container system structural design 43-45
4.3 FrameServeIoC container core algorithm analysis and implementation of the 45-56
4.3.1 based IoC Type3 dependencies automatically search found the algorithm 45-50
4.3.2 based erasure strategy Setter adaptive injected algorithm design 50-53
4.3.3 Type1 dependency injection and component processing technology 53 - 56
4.4 FrameServer the IoC micro container dependent components to verify 56-60
4.4.1 IoC the micro container dependence validation model 56-57
4.4 .2 IoC container dependent verification algorithm
4.5 FrameServer 57-60 the IoC micro container component lifecycle management 60-62
4.6 FrameServer the IoC micro container state mode component management
4.7 FrameServer 62-64 IoC container unit testing with pseudo-components (Mock Object) 64-66
5 Chapter FRAMESERVER, dynamic the AOP engine and core algorithm 66-92
the AOP system 5.1 FrameServer structure the 66-68
5.2 interceptor (Interceptor Pattern) mode extraction 68-71
the 5.3 FrameServer The dynamic AOP system design, algorithm analysis and achieve 71-87
5.3.1 FrameServer AOP interface design as well as the support of AOP semantics 71-76
5.3.2 AOP engine core algorithm analysis and implementation of the AOP engine based on JDK dynamic proxy 76-77
5.3.3 77-79
5.3.4 based Cglib2 dynamic the AOP engine optimization algorithm nbsp agent; 79-87
5.4 FrameServer the AOP mechanism introduced MVC presentation layer framework 87-92
5.4.1 based the AOP the TOKEN algorithm analysis and 88-91
5.4.2 AOP the TOKEN processing of advantages 91-92
chapter 6 FRAMESERVER the wireless data system 92-104 < br /> 6.1 Project Background the 6.2 project requirements described in 92
92-93 FrameServer system
6.3 93-98
6.3.1 VIEW layer 93-95
6.3.2 Control-control layer are found; 95
6.3.3 MODEL logic layer 95-98
6.4 report query module FrameServer in system configuration 98-102
6.5 wireless applications Shifang Cigarette Factory mobile data center run effect diagram 102-104
research nbsp Summary and Outlook ; to 104-107 The
research work summarizes 104-106
Looking 106-107
thank the 107-108
References 108-111
scientific research 111-112
statement 112-113
Appendix 113-117
Related dissertations
- Struts Framework Based on MVC Pattern in Application of Management System of Social Insurance
- The Master Plan of YC Enterprise Information
- Research on Registeration Access System of Structural Engineer
- Research on Institutional Innovation for Promoting China’s Urban-rural Integration
- The Frame of News Commentary Writing Medthods Critic in the Chinese Academic Journals’ Papers during Lately Decade
- Key Technology Research of Ontology Mapping for the Semantic Web
- Development of embedded network fingerprint attendance system
- Design and Implementation of the System of China Mobile "Easy Workers" Business Support System
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- Design and Implementation of the Bussiness Support System for China Telecom
- Architecture Design and Research of Information Asset Management System Based on Contract Management as the Center
- Design and Implementation of Nanchang Qingyunpu Area Management Information System of Discipline Inspection Work
- Design and Implementation of WEB-based Hotel Management Information System
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Emergency Command System Client Pluggable Design and Implementation
- Research and Implementation of Maritime Information Service Platform Based on SSi2
- Design and Implementation of a Server-side mashup Framework
- Design and Implementation of Human Resource Management System
- Design and Implementation of Online Bespeak Meal System Based on JSP
- Shandong Unicom Online Self-service Research and Design