The Research and Implementation of Web Services Based on Ajax and REST

Author
HanYiBo
Advisor
SongLi
School
Chinese Geology University (Beijing)
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2009
Downloads
283
Citations
5

Request the full text

Abstract

At present, the interaction model based on RPC has made great success in relatively closed environment of small applications. However, in open Internet-level distributed Web application environments, some issues such as tight couplings and complex interface make the scale of Web-level scalability difficult to achieve. REST (REpresentational State Transfer) is not only a description of the design principles of Web architecture, but also a summary of the most successful elements of Web application. Using REST for Web Servicess interaction model will overcome many inadequacies those come from RPC-based interaction model.According to new design thinking, the author introduced a solution to solve those issues. The new solution is based on Web Services of Ajax and REST-based. Specific programs are as follows: Adhering to the principle of REST and resource-oriented architecture (ROA), using WCF frameworks to build a Web Services and its integration applications, the author build a distributed Web application system with loosely coupled, platform, irrelevant language, and with some advantages such as interoperability, scalability, etc; Adhering to the principle of REST and ROA, by the introduction of Ajax technology and its frameworks, client application development and server-side service development decoupled completely, while the interactivity of the system and the user experience significantly improving. This solution could efficiently develop a distributed Web application system with good interoperability, flexibility, expansibility, and platform-independent.Based on the principles of REST, the resource-oriented architecture, Ajax technology, and the development of technology for .Net FramWork3.5 WCF framework, the author detailed the realization of RESTful Web Services program, analyzed REST design principles, Resource-oriented architecture and Ajax technology in this paper. Finally, the author designed and implemented the Nanyang Polytechnic "University Test management information system" which based on Web Services of Ajax and REST-based. Through the functional tests and performance tests, the feasibility and ease of the program were verified.

Table of contents

Abstract 5-6 Abstract 6-10 1 Introduction 10-15 1.1 research background and significance of 10-11 120 research status 11 1.3 research content and technology roadmap 11-12 1.4 is expected to target 12-13 1.5 papers organizational structure 13-14 1.6 Summary 14-15 2 Technical Overview 15-37 2.1 Web Services Overview 15-17 2.1.1 Web Servcie model 15-16 2.1.2 Web Services protocol stack 16-17 2.2 REST architecture style and RESTful Web Services.; 17-24 2.2.1 REST Overview 18 2.2.2 REST objectives and design principles 18-19 2.2.3 Resource-Oriented Architecture (ROA) 19-21 2.2.4 RESTful Web Services 21-22 2.2.5 REST architecture style criteria 22 2.2.6 REST-style and RPC-style Web Services compare 22-24 2.3 Ajax technology 24-28 2.3.1 Ajax Overview 24-25 2.3.2 Ajax technology 25-27 2.3.3 Ajax's technical advantages and scope of 27 2.3.4 Ajax and RESTful Web Services.; 27-28 2.4 WCF framework 28-36 2.4.1 WCF Overview 28-29 2.4.2 WCF new features 29-31 2.4.3 WCF service framework model 31-34 2.4.4 WCF architecture 34-35 2.4.5 WCF programming model with RESTful Web Services.; 35-36 2.5 Summary 36-37 3 RESTful Web Services implementation of the program of 37-54 3.1 implementation of the program guidelines 37 3.2 Ajax WCF framework solutions 37-51 3.2.1 URI design principles and mapping process 38-41 3.2.2 RESTful Web Services to achieve 41-51 3.2.3 Ajax consumption WCF service solution 51 3.3 the Ajax WCF framework for the development process and characteristics of 51-53 3.3.1 development process 52-53 3.3.2 Ajax WCF integrated framework of technical features 53 3.4 Summary 53-54 4 Ajax WCF integration framework application instance 54-70 4.1 application systems requirements analysis 54-55 4.1.1 system function analysis 54-55 4.1.2 technical solutions 55 4.2 services, database deployment, 55-56 4.3 RESTful Web Services design 56-60 4.3.1 Planning data sets 56-57 4.3.2 divide resources 57 4.3.3 Design URI 57-58 4.3.4 uniform interface 58-59 4.3.5 client requests that 59 4.3.6 server-side response that 59-60 4.4 WCF service deployment 60-69 4.4.1 defines the WCF contract 60-62 4.4.2 implement a WCF service 62-64 4.4.3 Start the WCF service 64 4.4.4 Ajax client calls the WCF service 64-66 4.4.5 Prototype framework calls the WCF service 66-69 4.5 Summary 69-70 5 system operation and testing 70-77 5.1 system testing 70-75 5.1.1 Test RESTful Web Services 70-72 5.1.2 client application testing 72-73 5.1.3 Fiddler test the URI design 73-75 5.2 JSON and XML performance comparison 75-76 5.3 Summary 76-77 6 Summary and Outlook 77-80 6.1 thesis research 77-78 6.2 shortcomings and improvement 78-80 thank 80-81 References 81-83 papers published during graduate study 83-84 biographical 84

Related dissertations

  1. Research and Implementation of GIS Web Services Based on Ajax/REST
    ZhanZuo ·Chinese Geology University (Beijing) ·2008 ·Doctoral dissertation
  2. Design and Implementation Cooperative Office System for Grassroots Government Based on Web Service
    LiangXiao ·Xiamen University ·2013 ·Master's thesis
  3. Method Research and Practice of Geographic Information Sharing and Web Services Interaction Based on Google Maps
    FengJun ·PLA Information Engineering University ·2013 ·Master's thesis
  4. Research on Two-dimensional Harcode Encoding and Decoding Based on Resttul Web Services
    DaiXianGuo ·Hubei University of Technology ·2012 ·Master's thesis
  5. Research on the Development and Support Platform of Mashup
    MengXianSen ·Tianjin University ·2012 ·Master's thesis
  6. Research and Implementation of RIA Architecture Based on REST in Clothing Manufacturing Enterprises
    WangJiaLe ·Beijing Jiaotong University ·2012 ·Master's thesis
  7. Research and Implementation of a Two-Dimension Barcode Based Meeting Management Open Service
  8. Research on CIMS Development Mode Based on Web Services and Ajax
    LuYeMin ·Hubei University of Technology ·2012 ·Master's thesis
  9. Design and Implementation of the Mobile-web-based Management Platform across Vocational Colleges in Beijing
    LiuJing ·Beijing University of Technology ·2012 ·Master's thesis
  10. Research and Realization on Resource Open Platform Based on Clpud Comjputing
  11. REST-based GIS Web Services Research
    YaoHeLing ·PLA Information Engineering University ·2005 ·Doctoral dissertation
  12. Research on Ajax/REST Architecture and Implementation of Developing Framework
  13. Research and Design of Market Management System Based on Rails Framework
    XuRiDan ·Wuhan University of Technology ·2008 ·Master's thesis
  14. Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
    WangLu ·Dalian Jiaotong University ·2013 ·Master's thesis
  15. Configuration Modeling and Applications Based on Web
  16. Research of Manufacturing Simulation and Workshop Control
    KongFanZuo ·Dalian Polytechnic University ·2013 ·Master's thesis
  17. Based on Rough Set Web Service Combinatorial Optimization Research
  18. And the Realization of Hardware Sales Website Design Based on.NET
  19. Research and Implementation of Campus Network Network Operation and Maintenance Management System
    XiaoZhong ·Hebei University of Technology ·2013 ·Master's thesis
  20. Research and Implement of Distributed Crawler System Supporting AJAX