providerURL in callLink element
The linkage options part, callLink element, property providerURL specifies the host name and port number of the name server used by an EGL-generated Java program or wrapper to locate an EJB session bean that in turn calls an EGL-generated Java program. The property must have the following format:
iiop://hostName:portNumber
- hostName
- The IP address or host name of the machine on which the name server runs
- portNumber
- The port number on which the name server listens
The property providerURL is applicable only in the following situation:
- The value of property type is ejbCall; and
- Property pgmName 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"
Related concepts
Linkage options part
Related tasks
Editing the callLink element of a linkage options part
Setting up the J2EE run-time environment for EGL-generated code
Related reference
callLink element
pgmName in callLink element
type in callLink element