Configuring connection factories for resource adapters within applications

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

  1. Optional: Install the application if it is not already installed on the application server.
    1. Click Applications > Install New Application.
    2. Browse to find the appropriate EAR file, which contains an RAR file.
    3. Click Next.
    4. Select Resource ref mapping to a J2C Connection Factory, then click Next.
    5. Complete the installation process for the application. For more information on installing applications, refer to Installing application files with the console.
  2. Select the application that you want to configure.
  3. Click Connector Modules under the Related Items heading.
  4. Select the name of the RAR file in the Manage Modules panel.
  5. Click Resource Adapter under the Additional Properties heading.
  6. Under the Additional Properties heading, click 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 an alias for Component-managed authentication if any application components with Application or Per connection factory authentication specified in the resource reference are going to be getting connections from this connection factory using the empty-argument getConnection() method. For resources that support XA, you can specify an Authentication alias for XA recovery. If there are no aliases that are available, or you want to define a different alias:
      1. Click Apply to save the current settings.
      2. Click J2C Auth Data Entries under the Related Items heading.
      3. Click New.
      4. Define the properties for the alias in General Properties.
      5. Click OK.
    5. Click OK.
  7. Click the name of the J2C connection factory that you created.
  8. Under the Additional Properties heading, click Connection pool properties.
    1. Change any values by clicking on the property name. For more information on the settings for connection pools, refer to Tuning connection pools or Connection pool settings.
    1. Click OK.
  9. Click Custom properties under 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 a component-managed authentication alias that you might have configured.
    2. Click Save.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 9:31:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=confacres
File name: tdat_confacres.html