Research and Implementation of Web Service Based on REST Architecture
- Author
- WeiNa
- Advisor
- ZhangJu
- School
- Beijing University of Posts and Telecommunications
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 113
- Citations
- 1
Abstract
It has been more than 10 years since the birth of Web Services. People use that to solve interoperability problems between different platforms. The traditional Web Services are based on RPC-style, it’s implementation technology mainly includes SOAP, WS Standard Stack, UDDI and so on. RPC-style Web Services have made great success in a relatively closed environment and in small application environment, but it would bring some problems in this distributed and open environment of Web, such as complex technical architecture, complex interface and poor scalability. Moreover, Web Services is supposed to comply with Web essence, but the truth is not the case. Web is simple, but now most of the Web Services are complex; Web is based on resources, but Web Services today do not expose resources; Web is based on URI and links, but Web Services are generally only exposed one URI and zero links; Web is based on HTTP, but Web Services toady hardly use HTTP’s features at al 1. Most of today’s Web Services have nothing to do with the Web; they have repeated or ignored the entire feature which makes Web success. It can be said that Web’s potential as a distributed programming platform has been ignored.RESTful architecture which researched in this paper is greate enough to return the Web Services back into Web concept. REST(Representational State Transfer)is a set of design principles behind Web, which is used to guide the design and development of modem Web architecture. Base on the study of REST theory and Web essential characteristic, this paper compared the RPC-style Web Services with the RESTful Web Services from several aspects, and We introduced ROA(Resource-Oriented Architecture)to guide the design of RESTful Web Services, and we also proposed the application design guidelines and procedures of RESTful Web Services, which made a foundation for the growth of this subject from theory to practical application.In chapter 3 of this paper, a RESTful Web Service which is based on Ericsson RCS project has been designed and implemented. This Web Service made use of web features, treated the problems in resource-oriented perspective, which designed uniform interfaces for operating resources and resolved interoperability problem between different clients. Rather than RPC-style Web Services, which expose their internal algorithms through complex, programming-language-style interface. This kind of interface is different for different services. This service possesses of scalability of component interactions, generality of interfaces, independent deployment of components and other features. At the same time, this service emphasizes on and uses the basic web technologies which are HTTP application protocol, URI naming standard, and XML markup language.In chapter 4 of this paper, the RESTful Web Service which designed in this paper was took into a horizontal contrast with the current RESTful Web services, and a vertical contrast with the current PRC Web Services, and then their advantages and disadvantages were pointed out respectively.
Table of contents
Summary 4-6
ABSTRACT 6-10
first chapter 10-14
1.1 purpose and meaning 10 - 11
1.2 Project Research 11-12
1.3 major research organization of 12
1.4 This article 12-13
1.5 for Master during 13-14
Chapter II of the traditional-style Web services and RESTful Web services 14-35
2.1 traditional style Web services 14
2.2 REST thinking the 14-18 2.2.1 REST Overview
15-16
2.2.2 REST mainly regulates 16-17 <br / > 2.2.3 REST data elements 17-18
2.3 Resource-Oriented Architecture (ROA) 18-21
2.3.1 the ROA the concept 18 -19
2.3.2 ROA attributes 19-21
2.4 RESTful Web services 21-22
2.5 RESTful Web service design 22 -30
2.5.1 HTTP application protocol 23-24
2.5.2 URI to identify the resource 24
2.5.3 WADL 24 - 27
2.5.4 Ruby 27-28
2.5.5 Ruby on Rails 28-30
2.6 traditional-style Web services and RESTful Web services 30-33
2.6.1 to solve the problem of comparing 30-31
2.6.2 Technical composed 31-33
2.6.3 importantly, characteristics 33
2.7 Chapter Summary 33-35
Chapter Web services based on the REST architecture design and 35-56
3.1 planning datasets 35-37
3.2 resources designed 37-38
3.3 the Rails framework controller design 38-48
3.3.1 User Control is the 40-42
3.3.2 Friends controllers the 42-44
3.3.3 tag controller
3.3.4 calendars, 44-46 controller 46-47 3.3.5 Recent Friends
controller 47-48
3.4 model design 48-50
3.4.1 User Model 48-49
3.4.2 Friends model 49-50
3.5 design said nbsp 50-52
3.5.1 from the client side; 50-51
3.5.2 service to the client said 51-52
3.5.3 the resource associated 52
3.6 an HTTP response design nbsp ; 52-54
3.6.1 Normal Response the 52-53
3.6.2 error response 53-54
3.7 client design 54 - 55
3.8 Summary the transverse contrast between the 55-56
Chapter Web services and vertical contrast the 56-60 4.1 horizontal contrast
56 -57
4.2 the Longitudinal compared 57-59
4.3 Chapter Summary 59-60
Chapter Summary and Outlook 60-62 <br / > 5.1, summarizes 60
5.2 further research directions the 60-62
Reference 62-63
Acknowledgements 63-64 < br /> of degree during the academic directory 64-
Related dissertations
- REST -based applications under ROR WEB2.0 Framework
- REST-based Web services architecture style of research and design
- Research and Application of building Web services based on the REST style
- Design and implementation of temperature and humidity measurement and control system based on Internet
- Study on tile map Web service based on REST
- Research on Two-dimensional Harcode Encoding and Decoding Based on Resttul Web Services
- Design and Implementation of the Wireless City Data Service Based on Rest
- Design and Implementation of Remote Class Service System with the Characteristics of Cloud Services
- Design and Implementation of Restful and Json Based Open Apis for Super Color-Ring-Back-Tone Platform
- The Integration Research of ERP and E-commerce System Based on Restful ROA Strcture
- Design and Implementation of Land Resource Management System Based on REST
- A Kind of Data Modeling and Implementing of the Iot Resource Shring Platform
- REST architecture test system application software Research and Implementation
- REST-based ATOM Publishing Protocol and its application
- Restful Implementation and Research of the Open Course of Computer Networks System
- Study on Quick Response System for Apparel Supply Chain Based on Web Services
- Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Design and Implementation of the Campus Network Application Based on SOA
- Multime Diadevices Interconnect Technology Research and Implementation Base on UPnP Protocol