Use the deployment descriptor editor to define the default
data source bindings for an EJB 1.x module.
Procedure
- Switch to the Java™ EE
perspective.
- In the Enterprise Explorer view, select the desired EJB
module.
- Right click the deployment descriptor, and select .
- 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.