Documentation Contents

Java Naming and Directory Interface

The Java Naming and Directory Interface (JNDI) provides naming and directory functionality to applications written in the Java programming language. It is designed to be independent of any specific naming or directory service implementation. Thus a variety of services--new, emerging, and already deployed ones--can be accessed in a common way.

The JNDI architecture consists of an API (Application Programming Interface) and an SPI (Service Provider Interface). Java applications use this API to access a variety of naming and directory services. The SPI enables a variety of naming and directory services to be plugged in transparently, allowing the Java application using the API of the JNDI technology to access their services.

Enhancements in Java SE 6
New APIs to get the InitialContext
Shorthand methods are provided for getting the InitialContext.
LDAP Service Provider
RMI Service Provider
  • Provided a property for specifying a socket factory for use by RMI connections.

API and SPI Specification


API Enhancements

More Information

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

Please send comments using this Feedback page.
Oracle Corporation and/or its affiliates
Java Technology