JXTA ID Properties

Every JXTA ID, regardless of format or type, has the following properties:

Unambiguousness

It must be a complete reference to the resource.

Uniqueness

It must refer to a single resource.

Canonicity

References to the same resource should encode to the same JXTA ID. This enables IDs to be compared to determine if they refer to the same resource, but understandably may not be achievable by all ID formats.

Opacity

In their URN presentation, JXTA IDs should be assumed to be opaque. The context of an ID within a protocol message is sufficient to establish its type. A JXTA binding may be able to interpret an ID if it supports the ID format.

Generally, only the immediate participants in a JXTA protocol need to understand the contents of a JXTA ID, if at all.

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.