Font Size: a A A

Research And Implementation Of Web Service Based On REST Architecture

Posted on:2012-07-17Degree:MasterType:Thesis
Country:ChinaCandidate:N WeiFull Text:PDF
GTID:2178330335960191Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:REST, Web Service, ROA, Ruby, ROR, HTTP
PDF Full Text Request
Related items