BEA Logo BEA WebLogic Server Release 6.1

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

  |  

  WebLogic Server Doc Home   |     Administration Guide   |   Previous Topic   |   Next Topic   |   Contents   |   Index   |   View as PDF

Managing JNDI

 

The following sections describe how to manage 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.

 


Viewing the JNDI Tree

To view the objects in the WebLogic Server JNDI tree for a specific server, do the following:

  1. Right-click the server node in the left pane. This displays a pop-up menu.

  2. Select JNDI Tree. The JNDI tree for this server displays in the right pane.

 


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, choose a name under which you want the object to appear in the JNDI tree. Then 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.

To verify if an object has been loaded, see Viewing the JNDI Tree.

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

Table 19-1 Objects In JNDI Tree

Service

Bound Object w/Link to Online Help

EJB


JDBC DataSource

JDBC Data Source and JDBC Transaction (Tx) Data Source

JMS Connection Factory

JMS Connection Factories

Web Services

Web Application Deployment Descriptor Editor

Mail

MailSession

Deployment Descriptors

BEA WebLogic J2EE Connector Architecture Attribute Descriptions

 


 

back to top previous page next page