CORBA 2.6 Programmer's Guide for Java
information, the call can resolve the root naming context object reference.
Because an applet cannot read a file to look up configuration information, JORB Lite applets must use HTML
PARAMS to resolve the location of the Naming Service.
Specifying the Root Naming Context IOR Location
A JORB Lite applet uses one of the two following methods to obtain the stringified root naming context object
reference:
If you specify a URL location using the NSDOM_CFG_NS_URL PARAM tag, the ORB refers to the
stringified root naming context IOR at the following URL:
Applet's document base URL/naming-service-root-nc-url
●
If you do not specify the NSDOM_CFG_NS_URL PARAM tag, the ORB reads the contents of this URL:
Applet's document base URL/NameService
●
Note: Both methods refer to the HTTP server that hosts the applet's web page. Therefore, the Naming
Service's root naming context IOR must be in a location relative to the web-page host.
As an example, suppose that the web page that hosts the applet is
http://jorb.tandem.com:8080/test/test.html and that you specified the following URL by
using the NSDOM_CFG_NS_URL PARAM tag:
jorblite/NameService
In this case, the ORB uses the following URL to obtain the stringified IOR:
http://jorb.tandem.com:8080/test/jorblite/NameService
Instead, suppose the same site hosts a JORB Lite applet that does not make use of the NSDOM_CFG_NS_URL
tag. In this case, the ORB obtains the stringified IOR from the following URL:
http://jorb.tandem.com:8080/NameService
Chapter 10. Porting CORBA
Applications to NonStop CORBA
Appendix A. Architectural Walkthrough