I want to plugin a custom/thirdparty
This is fine, JBoss JCA will drive the
using the standard api.
You deploy is using an xa-datasource
DataSource with internal pool
This is a non XA datasource that does its own pooling.
If you do this, you are outside JCA. The internal pool of the DataSource will not
understand the transactions or security configuration. Nor will any other component that expects the connection to be controlled by JCA which does the JTA (transaction manager) integration.
s are intended for use outside a J2EE environment.
JBoss uses standard JDBC drivers and adds the behaviour to turn them into full
s with the full J2EE contract.
This difference is also observed in the JCA spec where a
has two methods.
- with an internal connection manager - intended for use outside J2EE
- for use with the J2EE application server's connection manager and pool