节点文献

P2P网络与Web服务集成研究

The Integrated Research of P2P Network and Web Service

【作者】 王闯

【导师】 刘东飞;

【作者基本信息】 武汉理工大学 , 计算机应用技术, 2008, 硕士

【摘要】 P2P是网络计算的一种新技术,其目的是将网络中不同的计算机连接在一起,进行文件共享与交换,并能充分利用互联网和Web站点中的闲置资源。这种网络结构中所有的网络结点是互相对等的,它们既是客户端又是服务器,P2P通过这些对等体之间的直接交换实现计算资源和服务的共享。WebService是建立可互操作的分布式应用程序的新平台,它是自包含、自描述、模块化的应用,可以在网络中被描述、发布、查找以及通过Web来调用。它执行特定的任务,遵守具体的技术规范,这些规范使得WebService能与其它兼容的组件进行互操作。P2P和WebService这两种技术都有着非常广阔的应用前景,也必然存在相互之间的互操作应用。为了实现P2P网络和WebService这两种技术的集成,本论文首先分析了P2P技术以及JXTA P2P网络平台的有关内容及其协议,紧接着分析了与WebService相关的WSDL、UDDI、SOAP等相关技术规范。针对底层协议以及传输所用的消息格式的不同等问题,对Web服务与P2P这两种技术的集成进行了研究。本文通过在JXTAP2P网络中引入代理的方式,使P2P网络中的应用能够与WebService所提供的服务进行交互。代理作为中间者,需要理解这两种技术所需的协议。在配置代理时本文使用WSDL2Java工具来自动生成调用WebService的客户端代码。代理使用这些自动生成的代码来调用Web服务。为了验证本文的基本实现方法,本文编写了一个WebService并将其融入到P2P网络中,实现了对等点对P2P网络外部的WebService的透明调用。从而也达到了这两种技术集成的目的。

【Abstract】 P2P is a new technology in the network computing area, which arms to connect all different computers in the net so that resources can be shared and transferred among them, and use all inactive resources. All of the network nodes are peers to peers, and they are both client and server in the P2P network architecture. P2P implements the sharing of computing resources and services through the direct communication among the peers.WebService is a new platform to build distributed and interactive applications. These self-containing, self-describing and modular applications can be described, published, found and invoked by the web client in the network. Based on special rules, WebService can interact with other compatible modules and execute specified tasks.P2P and Web Service will be applied widely in the future. It is certain that there are interoperable applications between the two technologies. In order to implement the combination of the P2P network and WebService, this thesis has analysed the P2P technology and Protocols of JXTA firstly, then analysed the WSDL, UDDI, SOAP technology etc, with the WebService. Arming at the questions such as differences between the bottom layer protocol and transmission message form, this thesis has studied the combination of P2P and WebService.In this thesis, the way of proxy has been introduced into the JXTA P2P Network, that make the JXTA’s applications can interoperate with the WebService. Broker that work as the intermediator needs to implement both the rules of JXTA and WebService. During the deployment of the Broker, this thesis uses the WSDL2Java tool to produce the client code of WebService automatically. Those codes will be used to invoke the WebService by Broker. At last, in order to inspect and verify the basic method of the combination of the two technologies in this thesis, an instance of WebService has been developed and integrated into the JXTA P2P network, and the Peers invoke transparently the P2P Network exterior WebService has also been realized.Thus achieved the both technologies integration.goal.

【关键词】 P2PWebServiceJXTA
【Key words】 P2PWebServiceJXTA
  • 【分类号】TP393.09
  • 【下载频次】117
节点文献中: 

本文链接的文献网络图示:

本文的引文网络