This property is used to configure the root naming context
and/or the Object Request Broker (ORB).
Its value is the string representation of a URL.
If this property is not specified, then the ORB is initialized using the
java.naming.corba.orb property, the
java.naming.applet property, or
other ORB initialization properties.
The root naming context is obtained by invoking
orb.resolve_initial_references("NameService");
If the URL scheme is either "iiop" or "iiopname", then the host and
port fields of the URL are used to initialize the ORB. An
"iiopname" URL must conform to the now obsolete
INS
specification (98-10-11).
It has the form:
iiopname://[<addr_list>][/<cosnaming_name>]
The "iiop" URL scheme is supported for backward compatibility
with an older version
of the INS specification. It has the form:
iiop://[<host>[:<port>]][/<cosnaming_name>]
For both "iiop" and "iiopname" URLs, if <host> is not specified,
then it defaults to "localhost" for an application and the applet's host for
an applet. If <port> is not specified, then it defaults to 9999
for "iiopname",
and 900 for "iiop". The root naming context is obtained by invoking the
following method on the ORB:
orb.resolve_initial_references("NameService");
If <cosnaming_name> is nonempty, then
the root naming context is the
naming context named by cosnaming_name.
If the URL scheme is "IOR", the property must contain the
stringified IOR of the root naming context.
If the URL scheme is not one of "iiop", "iiopname", or "IOR",
then the URL must name a location that contains the stringified
IOR of the root naming context.
For example, if the property contains "file:/nsdir/ior", then the file
/nsdir/ior must contain a stringified IOR. The URL scheme can be any
for which there is a corresponding URL protocol handler (
java.net.URLStreamHandler