Show Table of Contents
Chapter 18. Pooling
18.1. Strategy
JCA uses a
ManagedConnectionPool to perform the pooling. The ManagedConnectionPool is made up of subpools depending upon the strategy chosen and other pooling parameters.
|
XML
|
mbean
|
Internal Name
|
Description
|
|---|---|---|---|
| |
ByNothing
|
OnePool
|
A single pool of equivalent connections
|
|
<application-managed-security/>
|
ByApplication
|
PoolByCRI
|
Use the connection properties from allocateConnection()
|
|
<security-domain/>
|
ByContainer
|
PoolBySubject
|
A pool per Subject, e.g. preconfigured or EJB/Web log in subjects
|
|
<security-domain-and-application/>
|
ByContainerAndApplicaton
|
PoolBySubjectAndCri
|
A per Subject and connection property combination
|
For <security-domain-and-application/> the
Subject always overrides any user/password from createConnection(user, password) in the CRI:
( ConnectionRequestInfo )

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.