https://www.oracle.com/technetwork/java/jndi/index.html

Lesson: Overview of JNDI (The Java™ Tutorials > Java Naming and Directory Interface) https://docs.oracle.com/javase/tutorial/jndi/overview/

Lesson: Overview of JNDI

The Java Naming and Directory Interface™ (JNDI) is an application programming interface (API) that provides naming and directory functionality to applications written using the Java™ programming language. It is defined to be independent of any specific directory service implementation. Thus a variety of directories -new, emerging, and already deployed can be accessed in a common way.

Architecture

The JNDI architecture consists of an API and a service provider interface (SPI). Java applications use the JNDI 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, thereby allowing the Java application using the JNDI API to access their services. See the following figure:

Packaging

JNDI is included in the Java SE Platform. To use the JNDI, you must have the JNDI classes and one or more service providers. The JDK includes service providers for the following naming/directory services:

  • Lightweight Directory Access Protocol (LDAP)
  • Common Object Request Broker Architecture (CORBA) Common Object Services (COS) name service
  • Java Remote Method Invocation (RMI) Registry
  • Domain Name Service (DNS)

Other service providers can be downloaded from the JNDI page or obtained from other vendors.

The JNDI is divided into five packages:

The next part of the lesson has a brief description of the JNDI packages.

Java SE — 核心技术 — Java 命名和目录接口 (JNDI) https://www.oracle.com/technetwork/cn/java/javase/tech/index-jsp-140184-zhs.html

Java 命名和目录接口 (JNDI) 是 Java 平台的一部分,为基于 Java 技术的应用程序提供了一个访问多种命名和目录服务的统一接口。利用此行业标准,您可以构建强大、可移植的、支持目录的应用程序。

命名和目录服务通过提供对有关用户、计算机、网络、服务和应用程序的各种信息的网络级共享,在内联网和互联网中起着至关重要的作用。

JNDI 和 Java EE 技术

JNDI 与 Java Platform, Enterprise Edition (Java EE) 中的其他技术协作,在分布式计算环境中对组件进行组织和定位。

JNDI 文档:J2SE 1.4.2 | J2SE 5.0 | Java SE 6

最新文章

  1. nodejs进阶(5)—接收请求参数
  2. 三分钟学会用 js + css3 打造酷炫3D相册
  3. 关于Three.js基本几何形状之SphereGeometry球体学习
  4. margin负值的几种妙用
  5. 【转】easyui $.message.alert 点击右上角的关闭按钮时,不执行定义的回调函数
  6. VS经常报错的link error 2019
  7. SequoiaDB 系列之四 :架构简析
  8. IDEA社区版运行并发布web项目
  9. Xcode5和ios7下交叉编译ffmpeg
  10. Azkaban2配置过程
  11. php脚本生成google play url的下载链接,下载apk并自动反编译后获取android版本号
  12. Windows socket之最简单的socket程序
  13. Linux CentOS下MySQL的安装配置之浅谈
  14. 浅谈C#数组(二)
  15. idea maven 集成多模块 module
  16. DE1-SOC资源
  17. Windows 系统 IP 和端口的相关检测命令
  18. Windows核心编程:第11章 Windows线程池
  19. ASP.NET Web API接受AngualrJS的QueryString的两种方式
  20. Django 查询时间段 时间搜索 过滤

热门文章

  1. h264 i p 帧特点
  2. 【Java面试题】39 Set里的元素是不能重复的,那么用什么方法来区分重复与否呢? 是用==还是equals()? 它们有何区别?
  3. .Net中的序列化和反序列化详解
  4. Buff系统框架设计
  5. C#委托和事件详解
  6. select2 选择框插件
  7. jQuery中animate()的方法以及$("body").animate({"scrollTop":top})不被Firefox支持问题的解决
  8. 如何把he_llo wo_rld 变成 HeLlo WoRld
  9. swift - UITextView的用法
  10. linux 安装 nodejs