Define JNDI bindings (default data source binding)

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

To define the default data source bindings for an EJB 1.1 module:

  1. Switch to the J2EE perspective.

  2. In the Project Explorer view, right-click the desired EJB module, and select Open With > Deployment Descriptor Editor from the pop-up menu.

  3. On the Overview page of the editor, select the JNDI - Default DataSource Binding section.

  4. Type a data source JNDI name. This specifies the Java Naming and Directory Interface (JNDI) name for the default data source.

  5. Type a default user ID.

  6. Type a password.