Using JXTA IDs in Protocols

When JXTA IDs are used within protocols, they are manipulated as text string URIs. There are three operations available for URIs: compare, resolve, and decompose. JXTA ID URIs may be compared for equality as strings. They can also be resolved to the resource they reference. Finally, JXTA ID URIs can be decomposed and interpreted by JXTA bindings.

In order to interpret a JXTA ID a JXTA binding must support the ID format used by that JXTA ID. For many JXTA protocols and operations it is not necessary to decompose the JXTA IDs.

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.