WAS v8.5 > Administer applications and their environment > Welcome to administering Data access resources > Administer data access applications

Configure Java EE Connector connection factories in the dmgr console

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 enterprise information system (EIS). Examples of connections include database connections, Java Message Service connections, and SAP R/3 connections.

The WebSphere Relational Resource Adapter is embedded within the product to provide access to relational databases. Creating another adapter is generally not necessary

  1. Click...

      Resources > Resource Adapters > Resource adapters > resource adapter > > Additional Properties > J2C connection factories.

    1. Click New.

    2. Specify any properties for the connection factory in the General Properties panel.

    3. Select the authentication preference.

    4. 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 application server, we can click Browse... to select an authentication alias for the resource that you 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.

      If the resource adapter supports XA, an option for Authentication alias for XA recovery will be available. If there are no aliases available, or to define a different alias:

      1. Click Apply to save the current settings.

      2. Click JAAS - J2C authentication data from the Related Items heading.

      3. Click New.
      4. Define the properties for the alias in General Properties.

      5. Click OK.

    5. Click OK.

  2. Click the name of the J2C connection factory created.

  3. From the Additional Properties heading, click Connection pool properties.

    1. Change any values by clicking the property name.

      See:

    1. Click OK.

  4. Click Custom properties from the Additional Properties heading.

    1. 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 the previous step.

    2. Click Save.

  5. Restart the application server for the changes to take effect.


Subtopics