JNDI Resources HOW-TO:
JNDI现在一想起JNDI就知道利用它可以配置DataSource,别的还能开啥?不知道了.它本质上是干啥的?DataSource的什么特性与JDNI暗合后造成了现在我这样一提JNDI就只能想到DataSource?
JNDI的产生背景?发展过程?它的利与弊?有没有别的什么替代物?好像跟JDBC有点关系.
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.
看JNDI的API时看到javax.naming.ldap,(Lightweight Directory Access Protocol )也想起来现在项目中的用到了这个ldap.
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).
A directory object provides an association between attributes and values. Thus, a directory service enables information to be organized in a hierarchical manner to provide a mapping between human understandable names and directory objects.
Naming -- The Foundation:(guide/jndi/spec/jndi/jndi.4.html)
A fundamental facility in any computing system is the naming service - the means by which names are associated with objects, and by which objects are found given their names. In traditional systems, the naming service is seldom a separate service.
Meaningful names can be composed using useful arrangements of naming services reflecting these relationships.
The primary function of a naming system is to map names to objects.
There can be multiple naming systems that can be represented by a composite namespace.
在JavaWorld上找了一个链接http://www.javaworld.com/javaworld/jw-01-2000/jw-01-howto.html,仔细看了看,很好,现在就很是需要这样的介绍性文章,结合实例,深入浅出,又很形象.
分享到:
相关推荐
hibernate 3.1+tomcat 5.5.x(配置jndi)hibernate 3.1+tomcat 5.5.x(配置jndi)hibernate 3.1+tomcat 5.5.x(配置jndi)hibernate 3.1+tomcat 5.5.x(配置jndi)hibernate 3.1+tomcat 5.5.x(配置jndi)hibernate 3.1+...
简单我tomcat5.0中的JNDI应用
JavaEE5学习笔记02-JNDI与RMI.
Tomcat配置JNDI数据源的N种方法
TOMCAT8 JNDI对用户名和密码加密
NULL 博文链接:https://hello-nick-xu.iteye.com/blog/2111215
tomcat-jndi-数据源将 tomcat-maven-plugin 与 JNDI 数据源一起使用
Tomcat6+spring+jndi配置数据源说明.docx
tomcat配置jndi几个方式
本文介绍了用JNDI定义Oracle数据源的方法。
tomcat-jndi
tomcat配置jndi、数据库连接jndi、jndi实例、非常简单,可以快速学习入门。有连接数据库的例子,和具体的配置。
TOMCAT JNDI配置
连接数据库有JDBC和JNDI等多种方式,该文件详细的描述了如何在tomcat6下配置JNDI的方法,本人测试多次很有效,绝对正确。
servlet学习笔记_JNDI.doc
Hibernate 3.1+Tomcat 5.5.X(配置JNDI篇) .doc
在tomcat中使用数据库连接池,方式:jndi配置
自己总结的三种使用方式,对比来看选择最适合你的方式