To access an enterprise information system (EIS), configure connection
factories, which instantiate resource adapter classes for establishing and
maintaining resource connections.
About this task
An application component uses a connection factory to access
a connection instance, which the component then uses to connect to the underlying
enterprise information system (EIS). Examples of connections include database
connections, Java Message Service connections, and SAP R/3 connections.
Procedure
- Click Resources > Resource Adapters > Resource
adapters.
- In the Resource adapters panel, select the
resource adapter that you want to configure.
- Under the Additional Properties heading,
click J2C connection factories.
- Click New.
- Specify any properties for the connection factory in the General
Properties panel.
- Select the authentication preference.
- Select the aliases for component-managed authentication, container-managed
authentication, or both. If there are no aliases that are available,
or you want to define a different alias:
- Click Apply to save the current settings.
- Click J2C Auth Data Entries from
the Related Items heading.
- Click New.
- Define the properties for the alias in General Properties.
- Click OK.
- Click OK.
- Click the name of the J2C connection factory that you created.
- Under the Additional Properties heading,
click Connection Pool.
- Change any values by clicking the property name. For
more information on the settings for connection pools, read Tuning connection pools or Connection pool settings.
- Click OK.
- Click Custom properties from the Additional
Properties heading.
- Click any property name to change its value. If the UserName and Password properties
are defined, they will be overridden by the component-managed authentication alias
that you specified in a previous step.
- Click Save.
- Restart the Deployment
Manager and the node agent for the changes to take effect.