+

Search Tips   |   Advanced Search

 

Introduction: Naming and directory

 

Explore the key concepts pertaining to naming and directory services. Naming includes both server-side and client-side components. The server-side component is a Common Object Request Broker Architecture (CORBA) naming service (CosNaming). The client-side component is a Java Naming and Directory Interface (JNDI) service provider. JNDI is a core component in the Java 2 Platform, Enterprise Edition (J2EE) programming model.

Naming

Naming is used by clients of WAS applications to obtain references to objects related to those applications, such as Enterprise JavaBeans (EJB) homes.

Name space logical view

The name space for the entire cell is federated among all servers in the cell. Every server process contains a name server. All name servers provide the same logical view of the cell name space.

JNDI caching

To increase the performance of JNDI operations, the WebSphere Application Server JNDI implementation employs caching to reduce the number of remote calls to the name server for lookup operations. For most cases, use the default cache setting.

Developing applications that use JNDI

JNDI name syntax is the default syntax and is suitable for typical JNDI clients. INS syntax is designed for JNDI clients that need to interoperate with CORBA applications.

JNDI to CORBA name mapping considerations

WAS name servers are an implementation of the CORBA CosNaming interface. WAS provides a JNDI implementation which you can use to access CosNaming name servers through the JNDI interface. Issues can exist when mapping JNDI name strings to and from CORBA names.

Configured name bindings

Administrators can configure bindings into the name space. A configured binding is different from a programmatic binding in that the system creates the binding every time a server is started, even if the target context is in a transient partition.

Name space federation

Federating name spaces involves binding contexts from one name space into another name space.

Foreign cell bindings

If you have applications in a cell that access other applications in another cell, you can configure a foreign cell name binding for the other cell. A foreign cell name binding is a context binding that resolves to the Cell Root context of the other cell. All applications in the local cell can look up objects in the foreign cell through the foreign cell binding.



 

Related information


Learn about naming and directory