Font Size: a A A

The Research And Implementation Of RESTful Web Services Based On P2P Network

Posted on:2011-06-26Degree:MasterType:Thesis
Country:ChinaCandidate:J L LiuFull Text:PDF
GTID:2178360302492891Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
P2P is a peer computing technology, its purpose is to connect different computer networks together, and makes full use of idle resourcesof the Internet . P2P system has many advantages, such as the highly distributed P2P-based system, flexibility to deploy resources; P2P nodes have reciprocal and autonomous; one of the core features of P2P is dynamic discovery mechanism, that is, one for search and location in the network nodes or resources for such a dynamic mechanism.In Web services, changes have taken place. Following the traditional XML-RPC-style Web Service, REST has been applied to Web Service. REST defines a framework of design principles, the core idea is to design resource-centered services, including how to represent the state of resources, and how to communicate with clients written in different languages.This paper studies the REST architecture style, with resource-oriented thinking and Jersey REST-style Web technology ,and realize an instance of service. The key is REST-style resource of accurate and given a certain abstract structure of the URI, and URI settings for each HTTP method.This paper studies the JXTA P2P network building, and proposes an integrated P2P and REST service: using P2P dynamic discovery mechanism to locate and invoke Web services. Calling Web services includes the way of HTTP and the way of notice. HTTP is common, but notice is that JXTA package request information and response information, the purpose is to ensure the legitimacy of the request.To ensure the safety of this system, the paper combines JXTA with Web services in their own security mechanisms. JXTA members of the management mechanism to ensure the service is only available in the group; Web service is primarily through its own security settings for HTTP header, when OAuth is used.
Keywords/Search Tags:REST, JXTA, Dynamic Discovery
PDF Full Text Request
Related items