JXTA: Java P2P Programming provides an invaluable introduction to this new technology, filled with useful information and practical examples. It was created by members of the JXTA community, sharing their real-world experience to introduce developers to JXTA. It starts with the fundamentals of P2P and demonstrates how JXTA fulfills the P2P promise, then covers the essentials of JXTA including the protocols, the JXTA Shell, and groups. Later chapters include case studies demonstrating JXTA to synchronize data and to create distributed applications. Includes a foreward by Juan Carlos Soto, Group Marketing Manager for Project JXTA at Sun Microsystems and the jxta.org Open Source Community Manager.
The book examples developed for the book for Linux/UNIX - 1,852 kb -- code.tar.gz
The book examples developed for the book for Windows - 1,987 kb -- code.zip
(NOTE: Each chapter concludes with a Summary.)
1. What is P2P?
Defining Peer-To-Peer. Defining P2P. P2P Concepts. Applications for P2P. Key P2P Issues. Technologies Related to P2P.
JXTA Defined. JXTA Concepts. JXTA Protocols. Peers and Groups. Advertisements. Pipe Binding Protocol. Resolver. Rendezvous Protocol. JXTA Identifiers.
Protocol and API. JXTA Goals. JXTA Peer and Java. Overview of the JXTA Protocols API. Summary of Java API for JXTA Protocols. Where JXTA Applications Begin. The Peer. Starting JXTA. Peer Discovery Protocol API. Peer Resolver Protocol API. Peer Information Protocol. Peer Membership Protocol. Pipe Binding Protocol API. Peer Endpoint Protocol.
Why Shell? Installation and Troubleshooting. Shell Commands. Using the Shell. Adding Shell Commands.
ping. Command Overview. Project Overview. Requirements. Design Approach. Implementation. Install. Test. Further Improvements to Ping.
Importance of Peer Groups. Importance of Peer Group Management. Types of Peer Group Management. Peer Membership Management.
An Overview. How CMS Works. A Simple CMS Example. Overall Design. Initializing the Content Manager. Searching for Content.
Importance of Security. Security is Multifaceted. Security Attacks in P2P Networks. JXTA Platform Security. JXTA Security Requirements. The Cryptographic Toolkit. Security Issues and Solutions. Trust in P2P systems. P2P Security Models.
Designing a PDA Organizer for JXTA. Design Considerations. Group Security and Associations. Class Design.
Running JXTA Chess. Overview of the Classes.
Designing an Advertisement Explorer. Design Overview. The Explorer Class. PeerDiscoveryThread Class. AdvertisementTreeCellRenderer Class. Running Explorer.
Contributing to a Project. Submitting a New Project. JXTA.ORG Development Environment. jxta.org Projects. Details on Select Projects. Commercial Projects.
XML Basics. Self-Describing. Strong Typing and Syntax Validation. Problems with XML.