Overview#
Java Naming and Directory Interface (JNDI) Java API for a directory service that allows Java software clients to discover and look up data and objects via a name.Like all Java APIs that interface with host systems, Java Naming and Directory Interface is independent of the underlying implementation.
Additionally, it specifies a Service Provider Interface (SPI) that allows directory service implementations to be plugged into the framework. It may make use of a server, a flat file, or a database; the choice is up to the vendor. Typical uses of JNDI include:
- connecting a Java application to an external directory service (such as an address database server or an LDAP server or DNS Server)
- allowing a Java Servlet to look up configuration information provided by the hosting web container[1]
Java Naming and Directory Interface is poorly designed#
Java Naming and Directory Interface is poorly designed in many respects and you should consider using the UnboundID LDAP SDK For Java for new code.More Information#
There might be more information for this subject on one of the following:- [#1] - Java Naming and Directory Interface
- based on data observed:2015-06-08