|
Step 2: Specify a Default Data Source for the EJB Container.
- From the Topology view in the Application Server Administrator's Console, expand the tree until the Default Container is displayed.
- Click once on the Default Container. The properties window will display on the right side of the screen.
- Choose the DataSource tab.
- Use these values in the property sheet:
- DataSource: Click on the Change.. button, select the sample datasource from the list and click Ok. If the sample datasource is not available, then Configure the Database.
- User ID: EJB
- Password: ejbuser
- Click Apply.
 
- You can specify a data source just once for several enterprise beans belonging to the same container.
If you skip this step, you must specify the data source, user ID, and password each time you add an enterprise bean to the container.
|