Standard Services Protocols

There are a number of optional protocols that may need to be implemented by JXTA and are not part of the Core Protocols Specification. These protocols are part of the Standard Services Protocol Specification. In order for a JXTA implementation to interoperate with other implementations, it may be necessary to implement some of the Standard Services protocols. For instance, a JXTA implementation may need to implement a discovery protocol to enable dynamic discovery of resources, a pipe-binding protocol to allow dynamic resolution of a pipe, or a peer information protocol to collect monitoring data. Because the Standard Services protocols are optional protocols, not all of them need to be implemented. For example, an implementation may preconfigure all resources used by a peer, so no discovery protocol is required. Some implementations may not require monitoring, so peer information protocols are not required.

The Standard Services Specification specifies four Standard Services protocols:

The Peer Discovery Protocol (PDP)

The mechanism by which a peer can advertise its own resources and discover the resources from other peers (e.g., peergroups, services, pipes, and additional peers). Every peer resource is described and published by advertisements. Advertisements are programming language-neutral metadata structures that describe network resources. They are represented as XML documents.

The Rendezvous Protocol (RVP)

The mechanism by which peers ...

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.