Chapter 16. JXTA and XML


by Frank Sommers

In This Chapter

  • The Virtualization of Networks

  • The JXTA Protocols

  • The JXTA J2SE API

  • A First JXTA Program

  • JXTA Prime Cruncher

Although all peer-to-peer systems are distributed systems, not all distributed systems aim to facilitate peer-to-peer-style computing. Growing experience with real-life P2P computing indicates that peer-to-peer systems share a common set of needs above and beyond what a general purpose distributed computing framework needs to provide. JXTA is an attempt to factor out the needs common to peer-to-peer systems, and offer a set of APIs around those functionalities.

In essence, JXTA is a peer-to-peer developer's library. It enables a developer to delegate to it the grunt work involved in the P2P-specific aspects of an application, and to focus instead on what makes his application unique. The purpose of this chapter is to show you what P2P-specific functionalities JXTA abstracts out, and how you might incorporate the JXTA libraries into your application.

We will start out by outlining the central problems of P2P systems that JXTA uniquely addresses. This discussion will introduce the key JXTA concepts, and will show how JXTA differs from other distributed computing frameworks, such as Jini. The subsequent sections will map those concepts to JXTA API programming constructs, and provide examples of using the most important JXTA capabilities. By the end of these sections, you will be able to design and implement simple P2P applications with JXTA.

The book's next chapter illustrates a full-fledged JXTA application the JXTA Shell which is an excellent tool to get acquainted with JXTA's key concepts without having to write a single line of code.



JavaT P2P Unleashed
JavaT P2P Unleashed
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net