Summary

JNDI is one of the J2EE common services that provides naming and directory functionality to enterprise components. It provides applications with methods for performing standard naming and directory operations, such as associating names with objects and looking up objects using their names. Using JNDI, a J2EE application can store and retrieve any type of named Java object. Because JNDI is independent of any specific implementation, applications can use JNDI to access multiple naming and directory services, including existing naming and directory services such as LDAP, NDS, DNS, and NIS. This allows J2EE applications to coexist with other enterprise applications and systems.

Note

For a thorough introduction and tutorial on JNDI, which ...

Get Sams Teach Yourself EJB in 21 Days 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.