Java Naming and Directory Interface (JNDI)

Overview

JNDI provides the configuration of components as well as the registration and location support for objects in a distributed system. The user interface for JNDI has two primary levels; naming and directory. Naming consists of contexts and objects. Contexts are like directories in a file system and objects are like files. As a Naming Service, JNDI allows a user to create either contexts or objects and assign them a name to be used for lookups. Directory consists of assigning zero or more attributes to the contexts or objects so that they may be looked up by more than just a name.
Lecture
JNDI (lecture, handouts, ppt)
Credit Example (ejava.examples.credit.wlimpl)
JNDI Tree Lister (ejava.jndi.Lister)
Resources
Sun's main JNDI Page

JNDI Service Providers

Sun's JNDI Documentation Page

Specification(s)
JNDI API Specification (online)
Tutorials
Sun's JNDI Tutorial page