Research and Application of building Web services based on the REST style
- Author
- SunYang
- Advisor
- QiuHuiZhong
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP393.092 Web browser
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 286
- Citations
- 14
Abstract
It has been more than 10 years since the birth of Web Services. People use it to solve interoperability of different platforms. The traditional Web Services are based on the PRC style which of the technology is mainly includes SOAP, WS Standard Stack, UDDI and so on. RPC Web Services have made some success in relative closed and small application environments, but it would bring a number of questions in open and distributed environments of Web, such as complexity of technical architecture, complexity of interface and bad performance of scalability. And, the Web Services should comply with the essence of the Web, but the truth is not the case. The Web is simple, while a majority of Web Services today are not simple; the Web is based on resources, but Web Services today don’t expose resources; the Web is based on URIs and links, but a typical Web Service today exposes one URI and zero links; the Web is based on HTTP, and Web Services toady hardly use HTTP’s features at all. Most of today’s“Web Services”have nothing to do with the Web, they just reinvent or ignore every feature that makes the Web successful. We can say that the Web’s potential for distributed programming has been overlooked.RESTful architecture which is researched in this paper is greate enough to put the“Web”back into“Web Services”. REST (Representational State Transfer) is the set of principles underlying the Web, which has been used to guide the design and development of the architecture for the modern Web. On the basis of studying the REST theory and essential characteristic of the Web, this subject compared the RPC Web Services with the RESTful Web Services from several aspects. We introduced ROA (Resource-Oriented Architecture) to guide the designs of RESTful Web Services. We did some researches on the guidelines and steps of implementations of RESTful Web Services at the same time. It lays a foundation for making the subject from theoretical studies to application.In chapter 3 and 4 of this paper, a Social Networking Services which is based on the REST style has been designed and implemented. The project is making use of web features, treating the problems in terms of resource-oriented, and designing uniform interfaces to operate resources to solve interoperability of different clients, rather than the RPC Web Services do, which expose internal algorithms through a complex programming-language-like interface. The interface is different for each service. And, the Social Networking Services emphasizes scalability of component interactions, generality of interfaces, independent deployment of components, etc. At the same time, it also emphasizes the basic web technologies: the HTTP application protocol, the URI naming standard, and the XML markup language, etc.In chapter 5 of this paper, a horizontal contrast between the Social Networking Services and the current RESTful Web services, and a vertical contrast between the Social Networking Services and the current PRC Web Services have been done while respectively listed out their advantages as well as disadvantages.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter Introduction 10-14
1.1 purpose and significance of 10-11
1.2 research status 11-12
1.3 The main research work 12-13
1.4 This organizational arrangements 13-14
Chapter traditional WEB services and RESTFUL WEB services 14-45
2.1 traditionally styled WEB service 14
2.2 REST thought 14-20
2.2.1 REST Overview 15-16
2.2.2 REST mainly regulates 16-18
2.2.3 REST data elements 18-20
2.3 Resource-Oriented Architecture (ROA) 20-27
2.3.1 ROA concept 20-22
2.3.2 ROA properties 22-27
2.4 RESTFUL WEB services 27-29
2.5 RESTFUL WEB service technology involved 29-39
2.5.1 HTTP application protocol 29-30
2.5.2 URI to identify the resource 30-31
2.5.3 WADL 31-35
2.5.4 Ruby 35-37
2.5.5 Ruby on Rails 37-39
2.6 WEB services and traditional services RESTFUL WEB comparison 39-44
2.6.1 Comparison solve problems 39-40
2.6.2 Comparison of technical components 40-42
2.6.3 Comparison of key features 42-44
2.7 Summary 44-45
The third chapter is based on REST-style social networking services are designed 45-59
3.1 Project Background 45-46
3.2 Construction Requirements Overview 46-47
3.3 Functional analysis service 47-48
3.4 Technical Architecture Design 48-49
3.5 RESTFUL WEB service design 49-58
3.5.1 Resource-oriented design principles 49-50
3.5.2 dataset planning 50-51
3.5.3 resources identified 51-53
3.5.4 resource naming 53-54
3.5.5 operating resources Interface 54
3.5.6 client representation 54-55
3.5.7 server representation 55-56
3.5.8 connectivity between resources 56-57
3.5.9 Typical events 57
3.5.10 error condition 57-58
3.6 Summary 58-59
Chapter social networking service implementation 59-85
4.1 system to achieve a general overview 59-63
4.1.1 development environment 59-60
4.1.2 system class diagram 60-61
4.1.3 Main flowchart 61-63
4.1.4 System Deployment 63
4.2 WEB service server implementation 63-79
4.2.1 dataset planning 63-65
4.2.2 resource designed 65-76
4.2.3 client representation 76-77
4.2.4 server representation 77-78
4.2.5 connectivity between resources 78
4.2.6 Typical events 78
4.2.7 error condition 78-79
4.3 WEB services client implementation 79-82
4.4 system running parts screenshot 82-84
4.4.1 circles list 82
4.4.2 Members list 82-83
4.4.3 single member 83-84
4.5 Summary 84-85
Chapter WEB service contrast between the horizontal and vertical contrast 85-89
5.1 horizontal contrast 85-86
5.2 vertical contrast 86-88
5.3 Summary 88-89
Chapter VI Conclusion 89-91
6.1 paper summarizes 89
6.2 further work 89-91
Thanks 91-92
References 92-95
during term research achievements 95-96
Related dissertations
- Research on Two-dimensional Harcode Encoding and Decoding Based on Resttul Web Services
- Design and Implementation of Restful and Json Based Open Apis for Super Color-Ring-Back-Tone Platform
- REST-based Web services architecture style of research and design
- Restful Implementation and Research of the Open Course of Computer Networks System
- Research and Implementation of Web Service Based on REST Architecture
- REST -based applications under ROR WEB2.0 Framework
- Design and Implementation of the Wireless City Data Service Based on Rest
- Research and Implementation of a Two-Dimension Barcode Based Meeting Management Open Service
- 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
- Research and Realization on Resource Open Platform Based on Clpud Comjputing
- Research and Implementation of GIS Web Services Based on Ajax/REST
- REST-based GIS Web Services Research
- REST architecture test system application software Research and Implementation
- Lightweight Web browser agreements , technology and its implementation
- Broadband access,network manage and billing system
- REST-based ATOM Publishing Protocol and its application
- Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
- Configuration Modeling and Applications Based on Web
- Based on Rough Set Web Service Combinatorial Optimization Research