5.3.5 available resource adapters

When you execute a J2EE application that uses the JPA, with Application Server, you can use a resource adapter with the connection factory interface javax.sql.DataSource. You can use DB Connector as the resource adapter provided with Application Server.

Also, you must deploy the resource adapter you want to use as the J2EE resource adapter. In the case of the J2EE applications using the JPA, you cannot include and deploy the resource adapter in the J2EE application.

The following table lists the resource adapters available with Application Server.

Table 5-5 Resource adapters available with Application Server

Connection factory interfaceDeploy format of the resource adapterUsage from the JPA
javax.sql.DataSourceDeployed as a J2EE resource adapterY
Included and deployed in the J2EE applicationN
Other than javax.sql.DataSource--N
Legend:
Y: Available
N: Not available
--: Not applicable

For details on the resource adapters available when you use Cosminexus JPA provider, see 6.2.3(3) Available DB Connectors.