Summary
JNDI provides a uniform API to an underlying naming or directory 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 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 that service. Standard services supported by JNDI include the following:
Lightweight Directory Access Protocol (LDAP)
Novell Directory Services (NDS)
CORBA
Active Directory is supported via its LDAP interface
Using JNDI from within a ...
Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.