The Research and Implementation of RESTful Web Services Based on P2P Network

Author
LiuJianLiang
Advisor
SongLi
School
Chinese Geology University (Beijing)
Major
Computer Science and Technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2010
Downloads
110
Citations
4

Request the full text

Abstract

P2P as a peer-to-peer computing model , whose purpose is to network computers together , and take full advantage of the idle and shared network resources . P2P itself has many advantages , such as P2P is highly distributed , flexible deployment strategy depending on the maximum extent to achieve load balancing ; P2P network node and autonomy , each peer provides both services receiving services ; dynamic discovery mechanism as one of the core features of the P2P effective mechanism for a network to find and locate peer nodes or resources . In recent years the field of Web services is also growing , following the traditional XML-RPC -style Web services , a new style of REST is affecting the design concept of the field of Web services . REST defines an architectural design principles : service design resources , including resources in the form of how to represent and how to communicate via HTTP client . In this paper, based on research REST architectural style , the use of resource - oriented thinking , with the the Jersey technology to achieve an instance of the REST-style Web services . REST - style key is the the precise abstract and resources given its URI has a certain structure , and is set for each URI HTTP method . This article , by studying the principle of JXTA build P2P networks , proposed an integrated P2P and REST services : the use of P2P dynamic discovery mechanism to find and call REST-style Web services . Call a Web service , mainly through HTTP or notice of the way . The HTTP way a common browser , by way of notice to request information and response information is encapsulated through JXTA notice mechanism , aims to ensure the legitimacy of the request . JXTA and Web Services security mechanisms , given to the security of the system as a whole in order to ensure the safety of the system , JXTA a member of the management mechanism to ensure service accessible only group ; primarily through HTTP header set to ensure Web services for their own safety , and here with the OAuth protocol given to the implementation of REST Web services security .

Table of contents

Abstract 5-6 Abstract 6-10 first chapter 10-13 1.1 research background and significance 10-11 1.2 research status quo 11 1.3 research content 11-12 1.4 papers organizational structure 12-13 the theory of the second chapter of P2P and REST services 13-22 2.1 REST architecture style 13-16 2.1.1 REST Overview 13 2.1.2 REST specification 13-14 2.1.3 REST-style Web services 14-15 2.1.4 RESTful Web services, the RPC-style Web services distinction 15-16 2.2 JXTA-P2P network platforming 16-21 The identity 2.2.1 JXTA logo 17 2.2.2 JXTA's architecture 17-18 2.2.3 JXTA basic components 18-19 2.2.4 JXTA protocols 19-21 2.3 This chapter Summary 21-22 Chapter JXTA-based REST web service design 22-37 3.1 REST WEB service design 22-23 3.2 design REST-style web services using JERSEY 23-27 3.2.1 design REST-style Web services 24-26 3.2.2 call REST Web services 26-27 3.3 the JXTA Design P2P network 27-30 3.3.1 JXTA operational processes 28 3.3.2 JXTA service publishing process 28-30 3.4 JXTA and REST-style Web services combined 30-32 3.4.1 node to call a Web service via HTTP protocol 30-31 3.4.2 node through JXTA call Web services 31 3.4.3 nodes through the proxy node calls the Web service 31-32 3.5 security considerations 32-36 3.5.1 RESTful-based Web services security 33-34 3.5.2 OAuth use 34-35 3.5.3 JXTA security 35-36 3.6 This chapter Summary 36-37 Implementation and Application of Chapter the JXTA REST Web services 37-58 4.1 System Overview 37-38 4.2 REST style WEB services to achieve 38-44 4.2.1 planning data sets 38-39 4.2.2 Resource Design 39-41 4.2.3 resources said 41-43 4.2.4 Jersey REST Web services 43-44 4.3 publish and find REST-style web services 44-46 4.3.1 release REST-style Web services 44-45 4.3.2 nbsp Find REST-style Web services; 45-46 4.4 REST-style web services call 46-51 4.4.1 HTTP way of calling REST-style Web services 46-48 4.4.2 pipeline way to call a Web service 48-51 4.4.3 agent approach calling REST-style Web services 51 4.5 security of the system to achieve 51-56 4.5.1 JXTA network implementation of security 52-53 4.5.2 RESTful Web services implementation security (OAuth) 53-56 4.6 Analysis and Evaluation 56-57 4.7 This chapter Summary 57-58 Chapter V system deployment with the test 58-66 5.1 system deployment 58-60 5.2 system test 60-65 5.2.1 testing REST services 60-61 5.2.2 service release 61-62 5.2.3 bookmarking service function compared 62-64 5.2.4 other security mechanisms of the application service comparison 64-65 5.3 Chapter Summary 65-66 Chapter Summary and Outlook 66-68 6.1 thesis research 66 6.2 shortcomings and improvement program 66-68 Acknowledgements 68-69 the References 69-71 Appendix 71-72 of papers published in the course of graduate study 71-72 the biographical 72

Related dissertations

  1. Research on Improvement of JXTA Network Routing Algorithm
  2. Design and Implementation of P2P Based on Full Text Retrieval System
    MengFanChao ·Jilin University ·2013 ·Master's thesis
  3. Colleges’ Information Integration and Application Based on the Framework of OSGI and REST
    WangZhaoPing ·Hunan University ·2013 ·Master's thesis
  4. Design and Research of Inspection System of Pipe Network
  5. Design and implementation of SNS platform based on MongoDB
  6. Design and implementation of performance assessment system of government based on SOA
    HanShengChao ·Northwestern University ·2013 ·Master's thesis
  7. Design and Implementation of Distribution Resource Planning System for Enterprise
    YanKun ·Xiamen University ·2013 ·Master's thesis
  8. Design and Implementation of Enrollment Management System Based on Cloud Service
    ZhangDongSheng ·Central China Normal University ·2014 ·Master's thesis
  9. Design and Implementation of Video Conference System Based on JXTA and WebRTC
  10. Research on Web of Things Service Environment Architecture and Key Technologies
  11. Research and Implementation of SOA-based Transmission and Transformation Equipment Condition Assessment System
    WangYuan ·Zhejiang University ·2014 ·Master's thesis
  12. Design and implementation of city underground integrated pipelines Rest and RIA information system based on
    JiaJing ·Jiangxi University of Technology ·2013 ·Master's thesis
  13. The Study and Construction of Digital Huludao Geographic Information Public Service Platform
    KongLingYao ·Liaoning Technical University ·2013 ·Master's thesis
  14. Research and Application of Deformation Monitoring WebGIS System Based on RIA
    ZhouKaiChun ·Central South University ·2013 ·Master's thesis
  15. Design and implementation of Jinggangshan red tourism system FLEX client and the REST service based architecture
    YuWeiJun ·Jiangxi University of Technology ·2013 ·Master's thesis
  16. Study on tile map Web service based on REST
    GuanYing ·Jiangxi University of Technology ·2013 ·Master's thesis
  17. Design and Implementation of Real-time Rainfall and Water Information System Based on WebGIS
  18. Research and Development of a Mobile Personal Knowledge Management System Based on Context-awareness
    HuangYuan ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  19. The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
    LiuJiang ·Tianjin University ·2012 ·Master's thesis
  20. Design and Implementation of Urban Online Service Platform Based on RIA
    CaoJianMing ·Donghua Polytechnic University ·2013 ·Master's thesis