Research and Application of Ajax Web Framework Based on AOP and IoC
- Author
- YangZhenDong
- Advisor
- WangChengLiang
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 87
- Citations
- 0
Abstract
With Web applications increasingly widespread and Web development technology continues to evolve , Web application on behalf of the user experience-based network services is characterized by the development of the Internet . Several changes in the Web Application Framework , a new Web application interaction model is proposed - Ajax ( Asynchronous JavaScript and XML ) , Asynchronous JavaScript and XML . The emergence of Ajax interaction model provides us with a new web design method , on the the Ajax mode of application , not only changed the traditional mode of Web applications , but also opened up a new field of Web development . Traditional development challenges by Ajax , Ajax will bring the complexity of the programming mode , these problems limit the application of Ajax technology . This article AOP and IoC technology , the Spring lightweight J2EE - based , designed a Web framework for Ajax environment so that the client be simplified universal access server to reach the requirements of rapid development . In terms of research , the paper first studied the Ajax technology ; went on to discuss the AOP and IoC technology ; then designed and implemented based on AOP and IoC Ajax Web framework , including client and server -side framework , and apply it to the actual project . In terms of customer -side aspects of , the use of a tool kit to enhance the the the ability to of the JavaScript language , shielding the sexual of the various browser differences . The top of the tool package , to design a contains the the the the client-side framework of the IoC container and AOP module , in to to to achieve the customers end of the Ajax , completion of the with server-side asynchronous communication , at the same time the XML data returned in will server-side through the template file carried out the rendering , the formation of a full user interface . J2EE lightweight framework on the server side , the design of the whole hierarchy , given the design of the of layers corresponding frame components . Struts presentation layer and business layer ; system to achieve data persistence layer using Hibernate ; using Spring to integrate the presentation layer and business layer ; using AOP Ajax crosscutting concerns separated to form a separate module unit - - aspects of , and will the this aspects of - woven be into the to the the , among the the framework of J2EE lightweight . Finally, this paper the design and implementation of a specific instance of the Web framework , and the prospects and shortcomings of the system were analyzed .
Table of contents
Abstract 4-5
ABSTRACT 5-10
1 Introduction 10-13
1.1 Background 10
1.2 development in the world 10-11
1.3 research content and structure of the paper 11-13
2 Ajax Technology Overview 13-22
2.1 Introduction 13
2.2 Ajax definition 13
2.3 Ajax -related technology research 13-20
2.3.1 basic Ajax technology 14-18
2.3.2 beneficial to extend and complement 18-20
2.4 current major Ajax frameworks 20-22
2.4.1 client framework 20-21
2.4.2 server-side framework 21-22
3 aspect-oriented programming (AOP) and Inversion of Control (IoC) 22-31
3.1 Introduction 22
3.2 AOP- oriented programming 22-26
3.2.1 AOP basic idea 22-24
3.2.2 AOP in the basic concepts 24-25
3.2.3 AOP implementation technology 25-26
3.3 IoC- reverse control 26-31
3.3.1 IoC basic concepts 26
3.3.2 IoC injected several ways 26-29
3.3.3 IoC implementation mechanism 29-31
4 Based on AOP and IoC framework for Ajax Web Design 31-53
4.1 Introduction 31-32
4.2 with a lightweight J2EE architecture to achieve the core business logic 32-40
4.2.1 What is MVC pattern 32-34
4.2.2 Lightweight J2EE architecture layer structure 34-35
4.2.3 Struts to implement the presentation layer and business layer 35-36
4.2.4 with Hibernate persistence layer to achieve 36-38
4.2.5 Integration with Spring presentation layer , business layer and persistence layer 38-40
4.3 server using the AOP design Ajax 40-45
4.3.1 AOP-based server-side frameworks 40-42
4.3.2 connection point (joinpoint) and entry points (pointcut) to determine 42-43
4.3.3 Notification (advice) design 43-44
4.3.4 aspect of modeling 44-45
4.4 client-side Ajax framework design 45-53
4.4.1 build rich client using Ajax Web applications 45-46
4.4.2 Ajax client hierarchy 46-47
4.4.3 IoC container 47-51
4.4.4 AOP module 51-53
5 Ajax Web Framework implementation and application 53-63
5.1 server-side framework to achieve 53-55
5.2 client framework to achieve 55-56
5.3 Framework application examples 56-61
5.3.1 Project Overview 56-57
5.3.2 System Architecture 57-58
5.3.3 system runs 58
5.3.4 system functions using Ajax implementation 58-61
5.4 Performance Analysis 61-63
6 Summary and Outlook 63-65
6.1 papers to complete the main task 63
6.2 work on the next proposal 63-65
Thanks 65-66
References 66-68
Appendix 68-70
Related dissertations
- Design and Implementation of Liaohe Oilfield Material Management System Based on Lightweight Web
- Research and Implementation of Distribution Resource Planning System Based on Spring
- Design and Implementation of the IIP lightweight J2EE - based the CRBT integration platform
- Design and Implementation of the Short Message Channel System Based on Spring Framework
- Research on Improving Platform Architecture Based on EJB Component Model
- Research and Design of Lightweight Container
- Research and Application of Java Lightweight Framework in Occupational Skill Testing Authority System
- The Application of Struts in Cooperative Office System Based on MVC Pattern
- Research and Realization of Integrated Centralized Alarm WEB System Based on SSVH Framework
- The Application of Java EE Pattern and Framework in Medium and Small Scale Enterprises
- A Design and Implementation of Traffic Administration FEE System Based on Spring
- Research and Application of Bussiness-Tier Model
- A Security Framework of Networked Distribution Management System for Rapid Deployment
- Building Enterprise Project Management System of CMCC Based on Mutlpile Open Source Archetecture
- Development of small and medium-sized enterprises operating system based on J2EE technology
- Design and Implementation of B2C e-commerce systems based on the Spring Framework
- Analysis and Realization of WEB Security Architecture
- The Study and Inpliment of ERP System Based on Struts and Spring Software Framework
- The Research and Design of Estate Recommendation Management System Based on Spring Framework
- The Research and Application of the Spring Framework Which Based on MVC Pattern