The JNDI Tutorial

Building Directory-Enabled Java Applications

The JNDI API Tutorial
and Reference


Order it today from

To find other books
from the Java Software
team, see
The Java Series.


This is the online version of the The JNDI Tutorial. It is modeled after The Java Tutorial. It is organized into trails – groups of lessons on a particular subject. If you've never used the Java Tutorial or this tutorial before, you can read a quick note describing how to use this tutorial.

Trail Map

A list of trails and the lessons within them.


Scan the master table of contents to get an overview of every trail.
Download Feel free to download the tutorial and make it available on a local network. Please do not publicly mirror it to the Web.

This tutorial reflects the version of the JNDI and the LDAP service provider that are in the Java 2 SDK, Standard Edition, v 1.4.2, and version 1.2 beta 3 of the File System service provider.

For API and other documentation, see Java SE Technical Documentation.

All of the material in The JNDI Tutorial is protected by copyright.