Use this page to designate how the container-managed persistence (CMP) 1.x beans of an application map to data sources that are configured for the application.
To view this administrative console page, click Applications >
Enterprise Applications > application_name > Map data sources for all 1.x CMP beans .
Guidelines for using this administrative console page:
The table depicts the 1.x CMP bean contents of your application.
Each table row corresponds to a CMP bean within a specific EJB module.
A row shows the JNDI name of the data source mapping target of the bean
only if you bound them together during application assembly. For every data source that is displayed, you see the corresponding security configuration.
To set your mappings:
Select a row. Be aware that if you check multiple rows on this page,
the data source mapping target that you select in step 2 applies to all of those CMP beans.
Click Browse to select a data source from the new page that is displayed, the Available Resources page. The Available Resources page shows all data sources that are available mapping targets for your CMP beans.
Click Apply . The console displays the Map data sources for all 1.x CMP beans page again. In the rows that you previously selected, you now see the JNDI name of the new resource mapping target.
Before you click OK to save your new configuration, set the security parameters for the data source. Use the following steps.
Type in a user name and password that comprise the authentication alias for signing on to the data source. If these entries are not listed in the application J2EE Connector (J2C) authentication data list, input them into the list after saving your settings on this page. Read the "Managing J2EE Connector Architecture authentication data entries" information center topic for instruction.
Click Apply that immediately follows the user name and password input fields.
Repeat all of the previous steps as necessary.
Click OK to save your settings.
Table column heading descriptions:
Select
Select the check boxes of the rows that you want to edit.
EJB
The name of an enterprise bean in the application.
EJB Module
The name of the module that contains the enterprise bean.
URI
When resolved relative to the application Uniform Resource Locator (URL), the Uniform Resource Identifier (URI) specifies the location of the module archive contents on a file system.
JNDI name
The Java Naming and Directory Interface (JNDI) name of the data source that is configured for the enterprise bean.
Data type
String
User name
The user name and password that comprise the authentication alias for securing the data source.