
Figure 10-25 JDBC data source definition
Binding the EJB to a JDBC data source
Each EJB module must be assigned to a JDBC data source reference in order for its CMP entities to persist correctly. To perform this assignment:
1.Switch the J2EE perspective. Select the J2EE Hierarchy view. Select the Customer bean.
2.Complete the data in the section labeled DataSource Binding Figure
3.Save the changes and close the editor.