Connecting to a Naming or Directory Service

  1. In the Runtime tab of the Explorer window, expand the JNDI node.
  2. Right-click the appropriate service provider and choose Connect Using from the contextual menu.
  3. In the New JNDI Context dialog box, type a Context Label.

    This text labels the JNDI subnode that represents the service.

  4. Fill in the additional fields that are required by the naming or directory service.
  5. Click OK.

    A subnode that represents the naming or directory service that you specified is added underneath the JNDI node.

tip You can use the RefFSContextFactory (file system service provider) to see how the JNDI browser works. Right-click the RefFSContextFactory node and choose Connect Using from the contextual menu. If you are working in the Windows programming environment, type myCdrive for the Context Label, and file://c:/ (or some equivalent) for the JNDI Initial Context.
See also
Generating Code With the JNDI Browser
Adding a Service Provider

Legal Notices