Skip to main content

Product: OpenFusion Naming Service

Version: ALL

 

Description:

How do JNDI and the Naming Service interoperate?

 

Resolution:

The OpenFusion Naming Service is layered on top of the Java Naming and Directory Interface (JNDI).

JNDI is an API that provides naming and directory functionality to applications written in the Java programming language. The JNDI is defined to be independent of any specific directory service specification, so clients may access a variety of directory services in a common fashion.

The JNDI architecture consists of the JNDI Application and Programming interface (API) and the JNDI Service Provider (SPI). The JNDI API allows Java applications to access a variety of naming and directory services. The SPI allows arbitrary naming and directory service providers to allow their implementations to be accessed from the client Java application. These service providers map through the generic calls to the specific implementation e.g. to an LDAP server.

OpenFusion has its own Service Provider that implements the javax.naming.Context interface. This allows basic operations such as adding a name-to-object binding, looking up names, removing bindings, creating and destroying sub-contexts etc.


#KnowledgeDocs
#OpenFusion