Home > Store

JXTA: Java P2P Programming

Register your product to gain access to bonus material or receive a coupon.

JXTA: Java P2P Programming


  • Your Price: $31.99
  • List Price: $39.99
  • Usually ships in 24 hours.


  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 432
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32366-4
  • ISBN-13: 978-0-672-32366-9

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

Sample Content

Online Sample Chapters

Java Implementation of JXTA Protocols

Java Implementation of JXTA Protocols

Table of Contents

(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.

2. Overview of JXTA.

JXTA Defined. JXTA Concepts. JXTA Protocols. Peers and Groups. Advertisements. Pipe Binding Protocol. Resolver. Rendezvous Protocol. JXTA Identifiers.

3. JXTA Protocols.

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.

4. JXTA Shell.

Why Shell? Installation and Troubleshooting. Shell Commands. Using the Shell. Adding Shell Commands.

5. JXTA ping Command.

ping. Command Overview. Project Overview. Requirements. Design Approach. Implementation. Install. Test. Further Improvements to Ping.

6. Working with Groups.

Importance of Peer Groups. Importance of Peer Group Management. Types of Peer Group Management. Peer Membership Management.

7. JXTA Content Manager Service (CMS).

An Overview. How CMS Works. A Simple CMS Example. Overall Design. Initializing the Content Manager. Searching for Content.

8. JXTA and Security.

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.

9. Synchronizing Data Between Peers.

Designing a PDA Organizer for JXTA. Design Considerations. Group Security and Associations. Class Design.

10. JXTA Chess: Game Programming.

Running JXTA Chess. Overview of the Classes.

11. JXTA Explorer.

Designing an Advertisement Explorer. Design Overview. The Explorer Class. PeerDiscoveryThread Class. AdvertisementTreeCellRenderer Class. Running Explorer.

Appendix A. The Project JXTA Community.

Contributing to a Project. Submitting a New Project. JXTA.ORG Development Environment. jxta.org Projects. Details on Select Projects. Commercial Projects.

Appendix B. XML Primer.

XML Basics. Self-Describing. Strong Typing and Syntax Validation. Problems with XML.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership