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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access