WAS v8.5 > Reference > SetsMap default data sources for modules containing 1.x entity beans
Use this page to set the default data source mapping for EJB modules containing 1.x container-managed persistence beans. Unless you configure individual data sources for the 1.x CMP beans, this default mapping applies to all beans within the module.
To view this dmgr console page, click Applications > Application Types > WebSphere enterprise applications > application_name > Map default data sources for modules containing 1.x entity beans.
Guidelines for using this dmgr console page:
- The page displays a table that depicts the EJB modules in the application containing 1.x CMP beans.
- Each table row corresponds to a module. A row shows the JNDI name of the data source mapping target of the EJB module 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 default data source 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 EJB modules.
- 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 available mapping targets for the EJB modules.
- Click Apply. The console displays the 1.x entity bean data sources 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.
- To specify security settings for the default data source:
- Select a row. Be aware that if you check multiple rows on this page, the security settings that you select later apply to all of those data sources.
- 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 Java EE Connector (J2C) authentication data list, you must input them into the list after saving your settings on this page. Read the information center topic on managing Java EE Connector Architecture authentication data entries for more information.
- 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 work.
Select
Select the check boxes of the rows to edit.
EJB Module
The name of the module containing the 1.x enterprise beans.
URI
Location of the module relative to the root of the application EAR file.
JNDI name
The JNDI name of the default data source for the EJB module.
Information Value Data type String
User name
The user name and password that comprise the authentication alias for securing the data source.
Related
Manage Java 2 Connector Architecture authentication data entries for JAAS