JNDI provides a uniform API to an underlying naming or driectory service. A Naming Service provides a means of storing simple information against a name so the information can be retrieved using the name as a key. A Directory Service stores additional attribute information, as well as values against a name. Directory Services use attributes to categorize names so that powerful searching of the directory tree structure can be supported.
JNDI supports any naming service provided a Service Provider implementation is available for the service. Standard services supported by JNDI include the following:
Lightweight Directory Access Protocol (LDAP)
Novel Directory Services (NDS)
Active Directory is supported via its LDAP interface
Using JNDI ...