Dec 26 2002

JXTA – A Dream Come True

  • Written by Jorge
  • No Comments

Just short two years in existence, JXTA Sun’s peer to peer project has become a enterprise developers dream. XML-based protocols make-up JXTA, creating a wealth of possibilities for developers interested in creating complex P2P systems. (JXTA Protocols Specification)


From ‘JXTA: P2P Grows Up
Project JXTA is an open-source, community-based project originally initiated by Bill Joy and Mike Clary at Sun Microsystems. The Project has now grown to over 10,000 members. The JXTA open-source community — which includes key members of Sun’s own JXTA team — has defined a set of XML-based protocols and a JavaTM reference API to provide a generic framework for P2P. Armed with the reference implementation, developers are creating protocols in other languages, too. Software designers now have the tools they need to create innovative P2P business applications with a robust library and infrastructure.


The JXTA Protocols Specification describes a set of XML-based protocols that provide the basic elements for P2P computing, including:


Peer discovery: A P2P solution needs a mechanism to allow a peer to find other peers, in order to access resources and services. Peer discovery protocols must enable peers to not only find peers in the local LAN, but also remote peers across the WAN or Internet, which may even be located behind a firewall or NAT equipment.

Peer groups: Peer groups allow P2P applications to subdivide the network space, allowing peers to organize themselves into groups with common services, purposes, or needs for authentication/privacy.

Discovery: Peers and peer groups can “advertise” to other peers the services they provide to the network. These “advertisements” describe the topology of the network, including peers, peer groups, communication channels, services, and other information. This is an important feature, because it creates a dynamic environment where the network and services available can be discovered and used as they are created.

Services: JXTA includes the notion of a Peer and PeerGroup services. These services describe not only the service being provided, but also where to obtain the specifications and executable code for the service. Because services can be specified by peer group, the developer can create specific implementations or additions to protocols that meet the needs of the application. Services are described via XML so you can also create the same service with different languages, and then verify that they are compatible.


Data transfer: JXTA provides the concept of a pipe, a channel that allows developers to transfer data between peers in an abstract fashion. JXTA provides one-to-one, secure one-to-one, and one-to-many (multicast-styled propagation) pipes for transferring data between peers. Pipes allow peers to communicate regardless of protocols, or even barriers like firewalls (for example, HTTP and TCP may be used to connect two peers via the pipe).


Message routing: JXTA provides an abstract network transport capable of transporting JXTA messages between peers, either directly, or via relay peers capable of both enabling multi-hop routing of messages, and traversing firewall or NAT equipment that isolates peers from the public network. The JXTA delivery layer is capable of working across multiple protocols (not restricted to TCP/IP only), and can survive the dynamic change of network topology that constantly happens in a P2P network.


Rendezvous protocol: JXTA provides the concept of a rendezvous peer, whose responsibility it is to enable peers to propagate messages to each other, as well as reduce network traffic by caching popular information essential to the operation of the P2P network.

Related Posts

  1. Free JXTA Book
  2. Hive An Enterprise P2P Platform Based on JXTA
  3. Microsoft adds P2P tools for Windows
  4. Sun: P2P is alive and well
  5. Legitimate music downloading enjoys dream week
Zeropaid on Facebook
Trackbacks url:

Leave a Comment...

  • Advertisement

    Giganews Newsgroups

1 Star2 Stars3 Stars4 Stars5 Stars Loading ... Loading ...

  • Sophieanne and Lilli: I wish their was more music....
  • ralphie: OH looky, it still doesn't work on dual screens. Adobe sucks....
  • odball: hej jag är en leged user och nu kommer jag inte in på sidan kan ni vara snälla och undersöka varför mvh G.P...
  • mpsharp.com Blog » Watching NFL games online: [...] show you a number of streams to choose from for each game.  All the streams require some sort of StreamTorrent pl...
  • ejonesss: no it is not going to completely stop piracy because while it will stop those whose reason for piracy is quality it is n...
  • file sharing anonymously - P2Pfreak.com: [...] and Trusty Files) just google any one of them and you will get some great info. also here IP filtering with uTorr...
  • soulxtc: Wasn't aware people were guaranteed jobs...
  • mountain_rage: BTW Youtube is supposed to go 1080P soon :D....
  • sdsd