Starting the JNDI Browser

The JNDI Browser is represented by the JNDI node that appears in the Explorer Window's Runtime tab. Expanding this node shows the JNDI service providers that have been installed.

Adding a Service Provider

  1. The package that contains the service provider (typically a .jar or .zip file) must be in the IDE's /bin/ext directory.
  2. Right-click on the Providers node. From the context menu, choose New Provider. This opens the New Provider dialog.
  3. Complete the fields with values that identify the new provider and click OK. The new provider will be represented as a subnode of the Providers node.
Connecting to a Naming or Directory Service
  1. Right click on the appropriate service provider. From the context menu, choose "Connect Using." This opens the New JNDI Context dialog.
  2. Supply a Context Label. This text will label the JNDI subnode that represents the service.
  3. Fill in the additional fields that are required by the naming or directory service.
  4. Click "OK."
  5. A subnode that represents the naming or directory service that you specified will be added underneath the JNDI node.
You can use the RefFSContextFactory (file system service provider) to see how the JNDI browser works. Right-click on the RefFSContextFactory node and choose Connect Using from the context menu. Type in "myCdrive" for the Context Label, and "file://c:/" (or some equivalent) for the JNDI Initial Context.

Legal Notices