+

Search Tips   |   Advanced Search

 

Configure 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.

 

Overview

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, JMS connections, and SAP R/3 connections.

 

Procedure

  1. Click Applications.

  2. Click Install New Application.

  3. Browse to find the appropriate EAR file, which contains an RAR file.

  4. Click Next.

  5. Select resource ref mapping to a J2C Connection Factory, then click Next.

  6. After the application installs, click Applications.

  7. Select the application just installed.

  8. Click Connector Modules under Related Items.

  9. Select an RAR file name on the Connector Modules page.

  10. Click Resource Adapter under Additional Properties.

  11. Click J2C Connection Factories under Additional Properties.

  12. Click New.

  13. Specify General Properties.

  14. Select a Component-managed authentication alias 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 supporting XA, you can optionally specify an Authentication alias for XA recovery. If a desired alias is not available, or you want to define a different one, click Apply > J2C Authentication Data Entries under Related Items.

    1. Click J2C Auth Data Entries under Related Items.

    2. Click New.

    3. Specify General Properties.

    4. Click OK.

  15. Click OK.

  16. Click the J2C connection factory you just created.

  17. Click Connection Pool under Additional Properties .

  18. Change any values desired by clicking on the property name.

  19. Click OK.

  20. Click Custom Properties under Additional Properties.

  21. Click any property name to change its value. Note that UserName and Password if present, are overridden by the component-managed authentication alias you specified in a previous step.

  22. Click Save.



Resource adapters
Connection pooling

 

Related tasks


Configure new J2C connection factories using scripting

 

Related Reference


CMP connection factories collection
Connection pool settings
J2EE resource provider or connection factory custom properties collection
J2C Connection Factories collection