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