The demand of communicating anywhere, anytime on any device is growing with the development of modern information technology. Current instant messaging services enable people to be aware of each other's presence and to exchange information. However, almost all of these services are based on client/server architecture. If servers crash, all connections are lost. In order to improving the circumstances, peer-to-peer network architecture emerges as the times require. In the peer-to-peer network, each peer play the role of either client or server, peer-to-peer network architecture implements transmitting and sharing resources among peers.Firstly, the paper explains four patterns of current p2p software and representative software. Secondly, it analyzes four aspects of p2p application. Thirdly, illuminating the advantage of java implements the p2p application. Next, it introduces a new p2p platform, JXTA, including its frame and protocol. Finally, the paper provides a practicalinstance-a p2p catechetical system built upon JXTA, and pictures the prospect of p2ptechnology. |