Font Size: a A A

Rest-style Building Web Services Applications

Posted on:2010-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y SunFull Text:PDF
GTID:2208360275982877Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Web Services, REST, ROA, HTTP, URI
PDF Full Text Request
Related items