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.

Procedure

  1. Switch to the Java™ EE perspective.
  2. In the Enterprise Explorer view, select the desired EJB module.
  3. Right click the deployment descriptor, and select Open With > Deployment Descriptor Editor.
  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