文档

Java™ 教程-Java Tutorials 中文版

路径:Java 命名和目录接口

This trail describes JNDI™ (Java Naming and Directory Interface) an API to access the directory and naming services. Here you learn about the basic naming and directory services and how to use JNDI to write simple applications to use these services. The most popular directory service LDAP is used to demostrate the use of JNDI to access the directory services.

image denoting bullet 命名和目录概念Start here to get an overview of naming and directory concepts.

image denoting bullet JNDI OverviewGives you an overview of JNDI, its architecture and packaging.

image denoting bullet 软件设置Describes instructions and steps involved in setting an environment that is required to run the examples described in this trail as well as any other JNDI application.

image denoting bullet 命名和目录操作Describes various naming and directory operations and demonstrates them through plenty of examples that access naming/directory services using JNDI.

image denoting bullet Advanced Topics for LDAP usersA specialized lesson for the LDAP users. It talks about modeling JNDI as an LDAP API, how to perform LDAP authentication, SSL and managing connections in production environments.

image denoting bullet Accessing Objects in the DirectoryShows you how to integrate your application with the directory, so that you can store and retrieve Java objects to and from the directory.

image denoting bullet Features in JDK 5.0 and JDK 6Introduces to the features in the JNDI and the LDAP Service Provider that are available in JDK 5.0 and JDK 6.


注意:This tutorial trail is based on the standalone JNDI tutorial located at https://docs.oracle.com/javase/jndi/tutorial/. The standalone JNDI tutorial, last updated under Java 2 SDK, Standard Edition, v 1.4.2, provides comprehensive coverage on JNDI, but is no longer supported. This tutorial excerpts the basics from the standlone tutorial and includes features added to JNDI in the Java Platform Standard Edition 5.0 and 6 releases.

The older JNDI tutorial is preserved as an archive on docs.oracle.com.


Previous page: Beginning of Tutorial
Next page: Naming and Directory Concepts