Skip navigation.

Administration Console Online Help

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index

JNDI

[Attributes and Console Screen Reference for JNDI]

 


Overview of JNDI Management

You use the Administration Console to manage JNDI. The JNDI API enables applications to look up objects—such as Data Sources, EJBs, JMS, and MailSessions—by name. The JNDI tree is represented by the left pane in the Administration Console.

For additional information, see Programming WebLogic JNDI

What Do JNDI and Naming Services Do?

JNDI provides a common-denominator interface to many existing naming services, such as LDAP (Lightweight Directory Access Protocol) and DNS (Domain Name System). These naming services maintain a set of bindings, which relate names to objects and provide the ability to look up objects by name. JNDI allows the components in distributed applications to locate each other. The WebLogic Server implementation of JNDI supplies methods that:

For more information on how to use JNDI, see 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.

For more information on configuring objects, see Table 56-1 Objects in JNDI Tree.

Table 56-1 Objects In JNDI Tree

Service

Bound Object w/Link to Online Help

JDBC DataSource

JDBC Data Source --> Configuration and JDBC Data Source --> Configuration

JMS Connection Factory

JMS Connection Factory --> Configuration --> General

Mail

Mail Session --> Configuration

Deployment Descriptors

Connector Component --> Configuration --> Descriptor

 

Skip navigation bar  Back to Top Previous Next