Theory of operation

The adapter uses the Initial Context Factory, which might be explicitly or implicitly supplied on the command line, to initialize the JNDI API. The mandatory url supplied on the command line identifies the host and optionally the port, user, password and which domain to connect to.

There are two major types of JNDI service providers, Naming Services and Directory Services.

  • Naming Services such as the RMI Registry are generic enough to share most of their functionality. They are capable of performing lookup, add, delete and modify operations; they do not use attributes; their lookups might return one, zero or many objects.
  • Directory Services, such as LDAP and DNS require specific implementations due to their complexity.

The adapter command line can be used to load a specific service provider at runtime.

The adapter uses Java Reflection to dynamically load the service provider implementation. Communication between the adapter and the remote server is handled transparently by JNDI.