The
providerURL property of the
callLink element
of the linkage options part specifies the host name and port number
of the name server used by an EGL-generated Java™ program to locate an EJB session bean that
in turn calls an EGL-generated Java program
or wrapper. The property must have the following format:
iiop://hostName:portNumber
- hostName
- The IP address or host name of the system on which the name server
runs
- portNumber
- The port number on which the name server listens
The
providerURL property is applicable
only in the following situation:
- The value of the type property is ejbCall;
and
- The pgmName property refers to the program
being called from the Java program
or wrapper being generated.
Enclose the URL in double quote marks to avoid a problem either
with periods or with the colon that precedes the port number.
A default is used if you do not specify a value for
providerURL.
The default directs an EJB client to look for the name server that
is on the local host and that listens on port 900. The default is
equivalent to the following URL:
"iiop:///"
The following
providerURL value directs an EJB client to
look for a remote name server that is called
bankserver.mybank.com and
that listens on port 9019:
"iiop://bankserver.mybank.com:9019"
The following property value directs an EJB client to look for
a remote name server that is called
bankserver.mybank.com and
that listens on port 900:
"iiop://bankserver.mybank.com"