Set Java EE Connector connection factories in the admin console
Overview
To access an enterprise information system (EIS), configure connection factories, which instantiate resource adapter classes for establishing and maintaining resource connections.
An application component uses a connection factory to access a connection instance, which the component then uses to connect to the underlying EIS.
Examples of connections include...
- database connections
- JMS connections
- SAP R/3 connections
Set J2C connection factories
- Go to...
Resources | Resource Adapters | Resource adapters | resource_adapter | Additional Properties | J2C connection factories | 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.
Some choices for the mapping-configuration alias do not use a container-managed authentication alias, so you will not be able to select a container-managed alias if one of those mapping-configuration aliases is selected.
If we have defined security domains in the appserver, we can click Browse... to select an authentication alias for the resource that we are configuring.
Security domains allow us to isolate authentication aliases between servers. The tree view is useful in determining the security domain to which an alias belongs, and the tree view can help you determine the servers that will be able to access each authentication alias. The tree view is tailored for each resource, so domains and aliases are hidden when we cannot use them.
Supported configurations: If the resource adapter supports XA, an option for Authentication alias for XA recovery will be available. If there are no aliases that are available, or you want to define a different alias:
- Click Apply to save the current settings.
- Go to...
Related Items | JAAS - J2C authentication data | New- Define the properties for the alias in General Properties.
- Click OK.
- Click OK.
- Click the name of the J2C connection factory createdd.
- From the Additional Properties heading, click Connection pool properties.
- Change any values by clicking the property name.
- Click OK.
- Click Custom properties from the Additional Properties heading.
Click any property name to change its value. If the UserName and properties are defined, they will be overridden by the component-managed authentication alias specified in the previous step.
- Click Save.
- Restart the Deployment Manager and the node agent for the changes to take effect.
Set connection factories for resource adapters within applications Connection pool settings
Connection pool advanced settings
Connection pool (Version 4) settings
J2C Connection Factories collection
Connection factory JNDI name practices 
Related concepts
Connection pooling
Relational resource adapters and JCA
Related tasks
Tuning connection pools
Disable statement pooling
Set multiple security domains
Related
Java EE resource provider or connection factory custom properties collection