Defining JNDI bindings (default data source binding)

Use the deployment descriptor editor to define the default data source bindings for an EJB 1.x module.

To define the default data source bindings for an EJB 1.x module:

  1. Switch to the J2EE perspective.
  2. In the Project Explorer view, select the desired EJB module.
  3. Right-click on the Deployment Descriptor Editor and select Open With from the pop-up menu.
  4. On the Overview page of the editor, select theJNDI - Default DataSource Binding section.
  5. Type a data source JNDI name. This specifies the Java™ Naming and Directory Interface (JNDI) name for the default data source.
  6. Type a default user ID.
  7. Type a password.

Feedback