Based the Spring lightweight Web Framework and Implementation
- Author
- ZhuangShaoZuo
- Advisor
- QiuHuiZhong
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 84
- Citations
- 10
- lightweight Web application frame
- Spring
- Inversion of Control
- Aspect Oriented Programming
- reusable management component of dynamic
Abstract
At present,with the popularity of Internet and the increasingly extendibility of the complexity and scale in Web application, high flexibility,reliability and personality are needed,which brings a new challenge to the Web application.In existing Web development,MVC design pattern offers the helpful train of thought in system interface、control flow and business logic of going on effective segregation and encapsulation. Thus there emerge many Web application framework based on MVC pattern at J2EE platform.But at the same time,the core criterion of J2EE-EJB has serious defect itself.It is too cumber for general Web application,and the price of ideal EJB container are very expensive,it binds a lot of the functions which enterprises do not need, thereby reduces the system cost-effective.So,in this thesis a lightweight Web development framework-Spring has been introduced and has been recommend its two key particular mechanism-IoC and AOP by analyzing its principle and realization,and in combination with MVC design pattern thought,this thesis divides it to four layers: view layer、controller layer、business logic layer、data persistence layer, and researches and improves the implement strategy of every layer.For example, adds Ajax technology into view layer、business logic layer puts forward the "open - closed" principle、data persistence layer uses the powerful JDBC. At last this thesis provides overall structural design of the lightweight Web application frame based on Spring and integrated with Acegi frame and reusable management component of dynamic .By using the lightweight Web application frame based on Spring hereinbefore, in combination with the practice project development of logistics information service platform, this thesis elaborates the system design and implemention course based on this frame in detail. In view of the key problem of level coupling degree and crosscutting concerns, this thesis puts forward to use the inversion of control pattern to reduce the coupling degree between the layers of multi-storey Web application system, thereby avoids strong intrusiveness of EJB to business logic layer, adopts the method of aspect oriented programming method to handle crosscutting concerns scattered between modules of the application system, thereby separates the core business code and the assistant function code,and introduces the reusable management component of dynamic to simplify the complexity of operating database、makes database maintenance more convenient and improves development efficiency.The whole system has a clearly arrangement and the nice expansibility、transplant capability、maintenance capability.
Table of contents
Abstract 4-5
ABSTRACT 5-10
Chapter Introduction 10-14
the
the 1.1 paper background and research significance 10-11
1.2 In this paper, the main research work 11-12
1.3 In this paper, the organizational arrangements 12-14
the second chapter of the MVC design pattern and its Web application framework 14-20
2.1 MVC design pattern 14-16
2.2 Web framework 16-19
2.2.1 framework defined 16-17
2.2.2 Web development status and trends of the framework 17-19
2.3 This chapter Summary 19-20
Chapter Spring application development framework 20-26
3.1 Spring framework 20-22
3.1.1 Spring framework system structure 20-21
3.1.2 Spring MVC support 21-22
3.2 Spring framework core mechanism - IoC and AOP 22-25
3.2.1 IoC About The 22-23
3.2.2 IoC implementations 23-24
3.2.3 AOP About 24-25
3.3 Summary 25-26
Chapter Spring-based lightweight web application framework 26-57
410 view layer 26-30
4.1.1 Ajax Introduction 27
4.1.2 Ajax development framework 27-30
4.1.3 Ajax application MVC pattern implementation 30
4.2 Business Logic Layer 30-34
4.2.1 business logic layer design improvements 31-32
4.2.2 Transaction Manager 32-34
4.3 data persistence layer 34-35
4.4 reusable dynamic data management component 35-51
4.4.1 data dictionary design 35-41
4.4.2 dynamic data object design 41-45
4.4.3 Dynamic data objects in the database operations 45-50
4.4.4 dynamic data object reusability 50-51
4.5 Acegi security framework 51-54
The basic components of the
4.5.1 Acegi security framework 51-52
4.5.2 Acegi security framework for authentication and authorization process 52-53
4.5.3 Acegi security framework improvements 53-54
4.6 technology architecture overall design 54-56
4.7 Summary 56-57
the
logistics information service platform system design and achieve 57-103
5.1 Overview 57-58
5.1.1 background 57-58
5.1.2 system overall demand 58
5.2 System Functional Analysis 58-66
5.3 system function design 66-68
5.4 Business Process Analysis 68-69
5.5 overall system architecture design 69-70
the
the 5.6 overall system process 70-71
5.7 system feasibility analysis 71-72
5.8 system 72-93
5.8.1 database design 72-76
5.8.2 view layer to achieve 76-79
5.8.3 control layer to achieve 79-80
5.8.4 Business Logic Layer 80-84
5.8.5 data persistence layer to achieve 84-85
5.8.6 reusable dynamic data management component implementation 85-89
5.8.7 Acegi security framework to achieve 89-93
5.9 development environment 93
the 5.10 system interface run chart 93-100
5.11 system test 100-102
5.12 Summary 102-103
Chapter VI Conclusion 103-105
Acknowledgements 105-106
the
References 106-108
research results achieved during the study period 108-109
Related dissertations
- Applied Research of Spring in the Police Integrated Information System
- The Research and Application of the Lightweight Container for J2EE
- 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
- Performance Analysis Method Study of Loosely Coupled System Based on Aop
- Spring Framework Research and Application
- Research on the Value-added Services Strategy in the Entertainment Platform for Spring Company
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Research and Application Based on SSH2and JBPM for J2EE Develop Platform
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Design and implementation of no warehousing logistics management platform based on SSH
- The Research and Application of Web Framework based on Lightweight J2EE
- Two-Dimensional Code Verification Ticket System Based on Web
- The Design and Implementation of Vehicle Tracking Management System
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Small Business Human Resource Management Information System
- Design and Implementation of the Logistic and Transportation Management System
- Advertising Design and Implementation of the Software System
- Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework