JNDI and Naming Services

JNDI provides access to a naming service, which allows various objects to be retrieved using a name which has been associated (or bound) with the object. The naming service and its underlying system determine the syntax that will be used to access its resources. This syntax is referred to as the naming convention. For instance, in UNIX the forward slash character (/) denotes separate components (directories). With the Domain Name Service (DNS) servers, a dot (.) character identifies separate components (network domains). The Lightweight Directory Access Protocol (LDAP) standard uses a more complex system of commas (,) and name–value pairs separated by equals (=) signs.

Within the naming service, bindings create names ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.