The Java Tutorials have been written for JDK 8.Java教程是为JDK 8编写的。Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.本页中描述的示例和实践没有利用后续版本中引入的改进,并且可能使用不再可用的技术。See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.有关Java SE 9及其后续版本中更新的语言特性的摘要,请参阅Java语言更改。
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.有关所有JDK版本的新功能、增强功能以及已删除或不推荐的选项的信息,请参阅JDK发行说明。
This trail describes JNDI™ (Java Naming and Directory Interface) an API to access the directory and naming services. 这条线索描述了JNDI™(Java命名和目录接口)访问目录和命名服务的API。Here you learn about the basic naming and directory services and how to use JNDI to write simple applications to use these services. 在这里,您将了解基本的命名和目录服务,以及如何使用JNDI编写简单的应用程序来使用这些服务。The most popular directory service LDAP is used to demonstrate the use of JNDI to access the directory services.最流行的目录服务LDAP用于演示如何使用JNDI访问目录服务。
➤ Naming and Directory Concepts命名和目录概念 Start here to get an overview of naming and directory concepts.从这里开始,了解命名和目录概念的概述。
➤ JNDI OverviewJNDI概述 Gives you an overview of JNDI, its architecture and packaging.为您提供JNDI、其体系结构和打包的概述。
➤ Software Setup软件设置 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.描述设置运行本教程中描述的示例以及任何其他JNDI应用程序所需的环境所涉及的说明和步骤。
➤ Naming and Directory Operations命名和目录操作 Describes various naming and directory operations and demonstrates them through plenty of examples that access naming/directory services using JNDI.描述各种命名和目录操作,并通过大量使用JNDI访问命名/目录服务的示例演示它们。
➤ Advanced Topics for LDAP usersLDAP用户的高级主题 A 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.为LDAP用户提供的专门课程。它讨论了如何将JNDI建模为LDAP API,如何在生产环境中执行LDAP身份验证、SSL和管理连接。
➤ Accessing Objects in the Directory访问目录中的对象 Shows you how to integrate your application with the directory, so that you can store and retrieve Java objects to and from the directory.演示如何将应用程序与目录集成,以便在目录中存储和检索Java对象。
➤ Features in JDK 5.0 and JDK 6JDK 5.0和JDK 6中的特性 Introduces to the features in the JNDI and the LDAP Service Provider that are available in JDK 5.0 and JDK 6.介绍JDK 5.0和JDK 6中提供的JNDI和LDAP服务提供程序中的功能。
Note:注: This tutorial trail is based on the standalone JNDI tutorial located at https://docs.oracle.com/javase/jndi/tutorial/. 本教程以位于https://docs.oracle.com/javase/jndi/tutorial/的独立JNDI教程为基础。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. 独立的JNDI教程最近在Java 2 SDK标准版V1.4.2下更新,它提供了关于JNDI的全面介绍,但不再受支持。This tutorial excerpts the basics from the standalone tutorial and includes features added to JNDI in the Java Platform Standard Edition 5.0 and 6 releases.本教程摘录了独立教程中的基础知识,包括Java平台标准版5.0和6版本中添加到JNDI的功能。
The older JNDI tutorial is preserved as an archive on docs.oracle.com.旧版JNDI教程作为存档保存在docs.oracle.com上。