Peer-to-peer (P2P) is not obvious for most things other than file sharing.

In this tutorial, you will first be introduced to a few JXTA (pronounced jux-ta) concepts, and shown simple but powerful examples of how to use the Java JXTA API.

Next, you will learn how to write applications with newly invented software patterns for P2P. These patterns (Well–Known ID, One–to–One, aka Chat, Many–to–Many, aka Chat Room, Monitor, Software Update, File Chunking, Confirming Identity, Peer Presence, aka who's online, Socket Addressing, RMI over JXTA, and P2P HTTP) will help traditional client–server developers add very powerful P2P features to their software.