SPECIAL OFFER
Use code BACKTOLEARN during checkout to save 50% on books, eBooks, & videos. Shop now.
Register your product to gain access to bonus material or receive a coupon.
"Java P2P Unleashed" provides a single source for Java developers who want to develop P2P systems. The book explains the benefits of each technology and shows how to fit the P2P "pieces" together - both in building new systems and integrating with existing ones. starts with a discussion of the P2P architecture, referencing similarities with existing, familiar systems while previewing several types of P2P applications. It explains how to plan ahead for security, routing, performance and other issues when developing a P2P application. Each technology included in the book - JXTA, Jini, JavaSpaces, J2EE, Web services - is approached from a P2P perspective, focusing on implementation concerns Java developers will face while using them. The last section includes several large-scale examples of different P2P applications - managing content, building communities, integrating services, routing messages, and using intelligent agents to gather information. The final chapter looks ahead to future developments in Java P2P technologies.
Introduction.
I. INTRODUCING P2P.
1. What Is P2P?A Brief History. Peer-To-Peer Application Hall of Fame. Motivation to Adopt P2P. Business and Implementation Issues. P2P Architectures. JXTA and XML. A Future That Includes Web Services. Summary.
2. A Case for Java and P2P.Platform-Specific Benefits. The Power of Equivalence and Independence. Summary.
3. P2P Application Types.Instant Messaging. Managing and Sharing Information. Collaboration. Distributed Services. Summary.
4. P2P As a Framework for Distributed Computing.P2P Common Functions and Characteristics. Comparing Traditional Systems. Web Services Overview. Jini and JavaSpaces Overview. JXTA Overview. Summary.
II. P2P SYSTEMS AND ARCHITECTURE.
5. System Topics Explained.Transport. Protocols. Metadata. Data Formats. Integration and Interoperability. Security. Performance. Summary.
6. P2P Dynamic Networks.Discovery. Identity and Presence. Virtual Spaces. Routing. Performance. Summary.
7. Transports and Protocols.What Is a Protocol? HTTP. SMTP. SOAP. BEEP. Using a Custom Protocol. Summary.
8. P2P Data Formats and Interchange.Current Representations of Metadata. XML and Metadata. XML and Metadata in P2P Systems: Applications. Searching Across Peers. Summary.
9. Integration and Interoperability.From Sockets to Distributed Objects: Integration Transports. Integrate To…What? Common Integration Protocols and Systems. Summary.
10. P2P Security.Security Requirements. Network Identity. Foundations of Security. Identification. Authentication. Authorization. Privacy and Anonymity. Trust. Accountability. Software for Developing Secure P2P Applications. Additional Resources. Summary.
III. BUILDING DISTRIBUTED SYSTEMS USING JAVA.
11. Web Services Explained.Web Services and the Drive Toward Interoperability. The Web Services Architecture: The Interoperability Stacks. The Principal Web Services Technologies. Summary.
12. Messaging and Java APIs for XML.Standard APIs to Third-Party Services. JMS and the Importance of Messaging. Java API for XML Parsing (JAXP). XML and the Java API for XML Binding (JAXB). Message Profiling Using JAXM. Summary.
13. Working with Registries.XML Registries for P2P. UDDI. UDDI Request Authoring in Java. ebXML. Java API for XML Registries. Accessing Web Services. Summary.
14. Jini and JavaSpaces.Obtaining Jini. Standardizing Interfaces. The HTTP Server and Protocol. Remote Method Invocation. Lookup and Discovery. Jini Services. Summary.
15. P2P Jini and JavaSpaces.Edge Services. Self-Healing Networks. Intelligent Agents. Summary.
16. JXTA and XML.The Virtualization of Networks. The JXTA Protocols. The JXTA J2SE API. A First JXTA Program. JXTA Prime Cruncher. Summary.
17. The JXTA Shell.Why a Shell? Starting and Using the Shell. Interacting with a Remote Peer via a Shell. Extending the Shell. Connecting Shell Commands. Summary.
IV. SAMPLE P2P APPLICATIONS.
18. Building a Personal Portal.What Is a Personal Portal? Content Management. Personal Content Space. Sharing Information. Publishing. Design. Code Details. Running the Example. Summary.
19. The P2P Dashboard.The P2P Dashboard. Design. Code Details. Summary.
20. Using SOAP with P2P.What Can We Achieve by Combining Web Services with P2P? P2P Web Services. Proposed Improvements. Summary.
21. The P2P Game.The P2P Game. Design. Code Details. Summary.
22. Distance Learning.Distance Learning. Design. Code Details. Summary.
23. Future Directions in P2P.P2P Devices. Semantics and Ontologies. Composite Capability/Preference Profiles. Web Services Inspection Language. Web Services Interoperability. Grid Computing. Intelligent Software Agents. The Big Picture.
A. APPENDIX.
Appendix A. J2EE Overview.J2EE and Enterprise Computing. J2EE Defined. J2EE Application Tiers. Peer-to-Peer and J2EE. Additional Resources.
Index.Ch 2, page 44, Listing 2.3
Currently reads (in part):
System.out.println(System.currentTimeMillis()); Thread.sleep(frequency); }
Should be (in part):
System.out.println(System.currentTimeMillis()); Try ( Thread.sleep(frequency); } catch (InterruptedException ignore) {} }
(Two lines added)
Chapter 14, page 388, listing 14.5 (continued)
Currently reads (in part)
private class ServiceListener implements DiscoveryListener { //Our discovery management support private DiscoveryManagement mgt;
Should read (in part)
class ServiceListener implements DiscoveryListener { //Our discovery management support private DiscoveryManagement mgt;
(Word "Private" deleted)
Chapter 19, page 554, listing 19.1 (continued)
(at the first code continuation character on the page)
Currently reads (in part):
//So we will just default all new peers have //the defaultNetPeerGroupID for their group. PeerID peerID =new PeerID [ic:ccc](PeerGroupID.defaultNetPeerGroupID);
Should read (in part):
//So we will just default all new peers have //the defaultNetPeerGroupID for their group. PeerID peerID = new PeerID [ic:ccc]((PeerGroupID)PeerGroupID.defaultNetPeerGroupID);
(Expression "(PeerGroupID)" added. Of course the actual icon is actually *there* in the PDF, not the icon code.:-)
Chapter 19, page 568, Listing 19.4 (near the beginning of the listing)
Currently reads (in part):
//Copyright 1999 MageLang Institute
Should read (in part):
//Copyright 1999 jGuru.com (formerly MageLang Institute)