Introduction

The Java Naming and Directory Interface (JNDI) API provides a uniform, standard method of accessing resources in the form of objects. These resources can be accessed using a naming service that allows lookups to be performed, mapping a name to an object reference.

JNDI builds on the existing technology of name servers and directory servers, and creates a standardized Java API for accessing the resources provided by these servers. Naming services have been in existence for some time. The servers that provide these resources are referred to by various names, including directory servers (LDAP, NDS), registries (RMI registry, Windows/NT registry), and name servers (DNS). These lightweight databases have increased in popularity over the ...

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.