The Design and Implement of a Lightweight Web Framework Based on B/S Architecture
- Author
- LiYiFei
- Advisor
- ZhuQiaoMing
- School
- Suzhou University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 177
- Citations
- 0
Abstract
In the enterprise application system development , J2EE technology occupies a very significant position. EJB architecture from the original classic , to the most recent popular lightweight container architecture . Many companies and the open source community has made in -depth study of this , and offers many excellent J2EE-based frameworks. This paper discusses the development of lightweight framework technology , and for the presentation layer , business logic and data persistence layer are discussed, analyzed the key technology, design and implement one based on B / S structure of the lightweight Web framework . The main work is: in the B / S architecture, the design and implementation of a lightweight Web framework LWFramework, implementation contains the presentation layer , business logic and data persistence layer three levels of the underlying framework and apply it to the actual projects. In the presentation layer article will be divided into client -side presentation layer and the presentation layer services and technology to achieve data via Ajax requests and responses , and in the case of not refresh the page to achieve dynamic update of the page , the integrated data validity checks. In the business logic using IoC design patterns , AOP aspect-oriented programming technology to achieve, using POJO objects between modules for data transfer , and complete logging of separation of concerns . In the data persistence layer , encapsulates CRUD operations on the data , providing common DAO object interface and the underlying function implementation , and complete the database connection pool and concurrent processing of design and implementation. This paper also gives a framework for Web -based LWFramework software project management system specific examples.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-9
The first chapter 9-15
1.1 project background 9-10
1.2 Lightweight Web Framework application status at home and abroad 10-11
1.3 Research objectives and significance 11-13
1.4 and realization of this thesis, the content 13-14
1.5 paper structure 14-15
Chapter related technologies 15-29
2.1 framework technology 15-19
2.1.1 framework concept 15
2.1.2 Why use framework 15-16
2.1.3 Java common Web development framework 16-19
2.2 IoC and AOP programming model 19-22
2.2.1 Separation of Concerns SOC 19-20
2.2.2 reverse mode IoC 20-21
2.2.3 Aspect-Oriented Programming AOP 21-22
2.3 Ajax technology 22-25
2.3.1 Ajax technology advantages 23
2.3.2 Ajax basic technical 23-24
2.3.3 Ajax works 24-25
2.4 reflex mechanism 25-28
2.4.1 reflex concept 26
2.4.2 Java reflection in 26-27
2.4.3 reflective performance 27-28
2.4.4 How to use reflection 28
2.5 Chapter Summary 28-29
Chapter LWFramework Design and Implementation 29-57
3.1 LWFramework Overview 29-33
3.1.1 LWFramework design goals 29-32
3.1.2 LWFramework advantages and features 32-33
3.2 presentation layer design 33-40
3.2.1 client design 33-38
3.2.1.1 screen mode 33-37
3.2.1.2 screen constraint 37-38
3.2.2 server design 38-40
3.2.2.1 request response 39
3.2.2.2 screen transition 39-40
3.3 business logic design 40-49
3.3.1 AOP implementation 41-44
3.3.2 POJO objects 44-46
3.3.3 business data checks 46-48
3.3.4 logging 48-49
3.4 data persistence layer 49-56
3.4.1 CRUD package 50-51
3.4.2 Connection Pooling 51-53
3.4.3 concurrent processing 53-56
3.5 Summary 56-57
Chapter Web Software Project Management System 57-66
4.1 overall design 57-59
4.1.1 Design Goals 57-58
4.1.2 Technical solutions 58
4.1.3 System components 58-59
4.2 Schedule Management Subsystem 59-64
4.2.1 Presentation Layer Application 60-61
4.2.2 Yewuluojiceng application 61-62
4.2.3 application data persistence layer 62-64
4.2.4 LWFramework frame advantage 64
4.3 Chapter Summary 64-66
Chapter Summary and Outlook 66-68
5.1 Summary 66
5.2 lack of work and prospects 66-68
References 68-72
Thanks 72-73
papers published during the master's degree 73-74
detailed summary 74-76
Related dissertations
- On Study and Application of Struts Framework Based on MVC Design Pattern in B/S Architecture Based System
- Lightweight Localized Network Coding Aware Mechanism
- Design and implementation of the lightweight block cipher ESF
- Design and Implementation of a Lightweight Communication Framework
- Wind Turbine Self-Advancing Access System and Its Lightweignt Design
- Study on Analysis Method and Lightweight of Tubesheet Structure for Heat Exchanger
- Study on lightweight device for large hydraulic excavator
- Lightweight Research and Improved Design of a Coach Bus
- Finite Element Analysis and Lightweight Design of Heavy Load Metal Rubber Damper
- Research on Lightweight Design Method of Engine Hood Based on Pedestrian Protection
- Structure Lightweight Design of the Key Part of the Passenger Car Body Based on the Principle of Topology Optimization
- Optimization Design of Composite Hood Based on Stiffness
- Study on Method of Automobile's Wheel Modelling and Lightweight Design
- Structural Optimization of the Frame of SF35100Type Mining Dump Truck
- Lightweight Design and Research for Balance-axle Brackets of Heavy-duty Commercial Truck
- The Structual Optimization of a Three-Piece Bogie of Freight Car
- Dynamic response analysis of lightweight shell during the launch process
- The Research of Space-Borne Laser Communication Terminal Light Miniaturization Technology
- The airborne passive phased array radar antenna structure technology research
- 500t Caster Ladle Car Frame Structure Optimization Design