Research and Implementation of one kind the Ajax / AOP WEB framework
- Author
- FuXiaoHai
- Advisor
- ZhangGongZuo
- School
- Nanjing University of Technology and Engineering
- Major
- Software theory and methods
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 408
- Citations
- 2
Abstract
As the Internet has become more mature, WEB applications featuring responsive user interfaces and maintainability capabilities have become increasingly popular. However, classic WEB applications have generally exhibited problems such as slow performance and heavy network traffic. So, a new design for the web -- Ajax appeared recently. Because Ajax minimizes traffic to the server by sending and requesting just the minimum amount of data needed, it can make Web-based applications more responsive, interactive, and customizable. In short, Ajax recreate the seamless user experience of most other desktop applications.Now how to integrate Ajax technique into MVC design pattern and J2EE container (Such as Spring), especially realize the combination of loose coupling, have not a good solution. If adopt traditional Object Oriented Programming, we should face the problem of code tangling and scattering. So in this paper, proposed to resolve the problem by AOP(Aspect Oriented Programming) to change original J2EE framework behavior. AOP allows the separation of crosscutting concern into single units called aspects, which are modular units of crosscutting implementation. So we can integrate Ajax into J2EE development framework by AOP.In this paper, firstly the principle of Ajax’s implement and it’s component technologies will be researched. Secondly the limitation of Object Oriented Programming will be researched, AOP how to resolve this problem and the implementation of AOP language. As the result of these research, a Ajax framework model - Ajax/AOP WEB framework - based on the AOP will be gived. Then the implementation of this framework and the benefit it haved compare with the classic solution will be discussed. In the end, the application of this framework in project will be introduced. The testing illustrates this framework can resolve the limitation of classic WEB application and Object Oriented Programming, and it have good performance.
Table of contents
Summary 3-4
Abstract 4-5
directory 5-8
1 Introduction 8-13
1.1 subject background 8-10
1.2 Research 10-11
1.3 topics 11
1.4 research 11-12 < br /> 1.5 paper structure 12-13
the Ajax technical overview definition of 13-29
2.1 Ajax - Asynchronous JavaScript and XML 13-16
2.1.1 JavaScript. Profile 13-14
2.1.2 an XML Introduction the 14-15 2.1.3 Ajax
Features: asynchronous 15 -16
2.2 key composed of Ajax technology the 16-22
2.2.1 XHTML and CSS-based standardized display 17-18
2.2.2 based XHR's asynchronous data acquisition 18-20
2.2.3 DOM-based dynamic display and interaction 20-21
2.2.4 data exchange based on XML and XSLT processing nbsp JavaScript to bind everything 22
2.3 Ajax framework implementation mechanism 22-27
2.3.1 complete; 21-22
2.2.5 Ajax life cycle 22-23
2.3.2 Ajax client-side and server asynchronous communication the 23-27 2.4 using Ajax technology meaning
27-29 <br / AOP-aspect-oriented programming 29-42
3.1 object-oriented programming problems faced 29-32 nbsp
3.1.1 the course of development of object-oriented programming 29-30
3.1.2 object-oriented programming problems faced; 30-31
3.1.3 traditional solution 31-32
3.2 AOP Technology the 32-34 3.2.1 AOP
how to solve the problems faced by object-oriented 32-33
3.2.2 AOP crosscutting type 33
3.2.3 using AOP technology advantage the 33-34
3.3 AOP language implementation the AOP languages ??norms in 34-41
3.3.1 34-35
3.3.2 AOP language composition 35-37
3.3.3 weaving technology 37-39
3.3.4 a few kinds AOP language tools introduced 39-41
3.4 aspect-oriented software design the 41-42
3.4.1 AOP design principles 41
3.4.2 AOP development steps the 41-42
4 Ajax / AOP Web Framework Design and Implementation 42-68
4.1 using MVC core concerns are found; 43 -51
4.1.1 What is MVC architecture 43-44
4.1.2 with Struts presentation layer and business layer 44-46
4.1.3 with Hibernate persistence layer 46-48
4.1.4 Spring integration layer, business layer and persistence layer are found; 48-51
4.2 the AOP design and implement server-side Ajax 51-62
4.2.1 traditional server-side Ajax solutions the 51-52 4.2.2 AOP-based solution
52-54 <br / > 4.2.3 connection point (joinpoint) entry points (pointcut) determine 54-56
4.2.4 notice (advice) design 56-57
4.2. the 5 aspect Modeling 57-59
4.2.6 aspect of the realization 59-61
4.2.7 XML - POJO converter to achieve 61-62
4.3 client-side Ajax framework designed to achieve the 62-68
4.3.1 traditional client solution 62-63
4.3.2 using Ajax constructor fat the client WEB application the 63-64
4.3.3 client-side Ajax framework architecture 64-66
4.3.4 Modeling and 66 - 68
5 Ajax / AOP Web Framework application the 68-73 5.1 Project Overview
68
5.2 System Architecture 68-69 <br / > 5.3 systems running the 69-71
5.4 Performance Analysis 71-73
6 summarizes 73-76
6.1 This article summarizes 73-74
6.2 further work 74-76
Acknowledgements to References 76-77
77-79
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- The Design and Implementation of the Hospital Wards Management System Based on J2EE
- The Research of Applications Based on Combination of SSH2and ExtJs
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- The Research and Application of Web Framework based on Lightweight J2EE
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of China Three Gorges University OA System Based on SSH
- The Research and Implementation of the Personal Tax Declaring System Based on the Web Event-Driven Architecture
- The Supermarket Information Management System Design and Implementation
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- Research and Implementation of Online Customer Service Platform Based on Asynchronous Processing Framework
- Design and Implementation of Process Modules in Communication Account Operation Management System
- Design and Implementation of Liaohe Oilfield Material Management System Based on Lightweight Web
- Research and Implementation of Online Customer Service Platform Based on Asynchronous Processing Framework
- The Research and Implement of Human Resource Management System Based on Ajaxand SSH
- Implementation and application of Ajax framework based on J2EE
- The Design and Realization of Online Recruitment System Based on SSH2and AJAX Technology
- Design and implementation of online airline reservation system
- Research on Experiment Teaching Management by SSH Structure
- The Research and Application of the AJAX Technology in J2EE