bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

JNDI

The Java Naming and Directory Interface (JNDI) is an application programming interface (API) that provides naming services to locate objects on the network. The WebLogic Server implementation of JNDI supplies methods that:

- Give clients access to the WebLogic name services

- Make objects available in the WebLogic namespace

- Retrieve objects from the WebLogic namespace

For more information on how to use JNDI, see Managing JNDI in the WebLogic Server Administration Guide and Programming WebLogic JNDI.

Viewing Objects in the JNDI Tree

To view objects in the JDNI tree from the Administration Console, do the following:

1. Right click on the node for your WebLogic Server in the right pane. This opens a pop-up menu.

2. Select View JNDI Tree.

3. Click to select an object.

Note: Object Class, Object Hash Code, and Object To String entries are not available for a Local Stateless Bean deployment.

Loading Objects in the JNDI Tree

Using the Administration Console, you load WebLogic Server J2EE services and components, such as RMI, JMS, EJBs, and JDBC Data Sources, in the JNDI tree.

To load an object in the JNDI tree, do the following:

1. Choose a name under which you want the object to appear in the JNDI tree.

2. Enter that name in the JNDI Name attribute field when you create the object. When the object is loaded, JNDI provides a path to the object.

3. Verify that the object has been loaded by viewing the JNDI tree. For more information on how to view the JNDI tree, see Viewing Objects in the JNDI Tree.

Creating a Security Role for a Branch of the JNDI Tree

For more information, see Creating a Scoped Role for JNDI Resources.

Creating a Security Policy for a Branch of the JNDI Tree

For more information, see Creating a Security Policy for JNDI Resources.