Develop Naming and directory
This page provides a starting point for finding information about naming support. 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 JNDI service provider. JNDI is a core component in the Java EE programming model.
The WebSphere JNDI service provider can be used to interoperate with any CosNaming name server implementation. Yet WebSphere name servers implement an extension to CosNaming, and the JNDI service provider uses those WebSphere extensions to provide greater capability than CosNaming alone. Some added capabilities are binding and looking up of non-CORBA objects.
Java EE applications use the JNDI service provider supported by WebSphere Application Server to obtain references to objects related to server applications, such as enterprise bean (EJB) homes, which have been bound into a CosNaming name space.
Subtopics
- Develop applications that use JNDI
References to enterprise bean (EJB) homes and other artifacts such as data sources are bound to the WAS name space. These objects can be obtained through JNDI. Before we can perform any JNDI operations, we need to get an initial context. We can use the initial context to look up objects bound to the name space.
- Develop applications that use CosNaming (CORBA Naming interface)
CORBA clients can perform naming operations on WebSphere Application Server name servers through the CosNaming interface.
Related information:
End-to-end paths for Naming and directory
Administer naming and directory
Scripting for naming and directory
Troubleshooting Naming and directory