3. Overview of the Architecture

The JNDI architecture consists of the JNDI API and the JNDI SPI. The JNDI API allows Java applications to access a variety of naming and directory services. The JNDI SPI is designed to be used by arbitrary service providers including directory service providers. This enables a variety of directory and naming services to be plugged in transparently to the Java application (which uses only the JNDI API). The JNDI Architecture figure shows the JNDI architecture and includes a few service providers of directory and naming contexts as examples.


JNDI Architecture

Graphic with the following from top to bottom: Java application, JNDI API, JNDI Naming Manager, JNDI SPI, and RMI, CORBA, LDAP and NDS on the bottom row.


Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.