Connection factories are used in mediating communication between
an application and an enterprise information system (EIS). The administrative
console can be used to administer connection factories.
Before you begin
This task should be performed if you have a standalone resource adapter.
Embedded WebSphere Adapters require slightly different treatment. You must
also have security permission to edit the administrative console.
Why and when to perform this task
If your application requires access to a non-relational database,
you need to configure a resource adapter and a connection factory rather than
a JDBC provider and a data source.
Steps for this task
- Select the resource adapter to administer.
From the
top level of the administrative console, perform the following steps:
- Expand Resources
- Select Resource Adapters
- Select the WebSphere Adapter that you want to administer.
- Create a new connection factory for this adapter.
Create
the new connection factory by:
- Select JCA Connection Factories under the Additional Properties
- Click New
- Specify general properties
- Specify authentication preference
- Select aliases for component-managed authentication, container-managed
authentication, or both.
If no aliases are available, or you
want to define a different one,
- Click Apply
- Click J2C Authentication Data Entries under Related
Items
- Click New
- Specify general properties
- Click OK
- Click OK
- Modify the connection pool properties of the newly created connection
factory to optimize the behavior of the connection pool manager.
Change
connection pool values by:
- Select the new Connection Factory
- Under the Additional Properties heading select Connection
pool properties.
- Change any desired values by clicking the property name.
- Click OK
- Under Additional Properties click Custom Properties.
- Click any property name to change its value.
- Click OK.