Java Naming and Directory Interface (JNDI)

 

JNDI is a Java API to access all Naming and Directory services such as DNS, LDAP, RMI, or even the file system on your computer. JNDI finds and accesses JEP services, classes, objects, and methods.

JNDI supports

  • Naming Service--provides a method for mapping unique identifiers, or names with a specific value, a range of values, or possibly even an object.

  • Directory Service--a naming service that provides access to values organized in a structure (typically hierarchical).