| Recent years, as the file sharing software such as KaZaa, BT, eMule spreading quickly, P2P technique has triggered off the new study trend of it. Compare with the traditional network model, P2P network has many advantages and has a more wide application foreground. As the Web continues to grow in both content and the number of connected devices, peer-to-peer computing is becoming increasingly popular. Popular software based on P2P technologies includes file sharing, distributed computing, and instant messenger services, e-commerce online-game while each of these applications performs different tasks, they all share many of the same properties, such as discovery of peers, searching, and file or data transfer. Currently, application development is inefficient, with developers solving the same problems and duplicating similar infrastructure implementation. JXTA accommodates peers on the edge of the network by providing a system for uniquely addressing peers that is independent of traditional name services. Through the use of JXTAIDs, a peer can wander across networks, changing transports and network addresses, even being temporarily disconnected, and still be addressable by other peers. The goal of this project is to establish such a decentralized trust model on the Project JXTA platform.At first, this article analyze the features of P2P technique and three model of P2P network; then introduce the JXTA platform, describe the main concept and protocols of it. Finally build up a file sharing system which has been applied a distributed trust model. |