3.6.1 Overview of DB Connector-based connections

To connect to a database, you can use DB Connector as the resource adapter. DB Connector is a resource adapter for accessing the database using the JDBC. To use DB Connector, you look up the connection factory (javax.sql.DataSource interface) from the J2EE application.

The following figure gives an overview of connections using DB Connector.

Figure 3-17 Overview of connections using DB Connector

[Figure]

With the database connections using DB Connector, you use HiRDB Type4 JDBC Driver, Oracle JDBC Thin Driver, or SQL Server as the JDBC drivers.

For details on the DB Connector settings, see 3.6.9 Settings in the execution environment (resource adapter settings), and 4.2 Settings for connecting to a database in the uCosminexus Application Server Application Setup Guide.

For details on the connection methods for connecting to a database queue, see 3.7 Connecting to a database queue.

Note
To use a resource adapter, you must resolve the references from the J2EE application to the resource adapter. When you customize a J2EE application that uses the resource adapters, resolve the references from the J2EE application to the resource adapter.