3.3.1 How to connect to resources

Based on the types of resources, Application Server includes the resources that use resource adapters for connection and the resources that do not use resource adapters for connection. This subsection gives an overview of how to connect to each resource for each resource type.

Organization of this subsection
(1) Resources that use resource adapters for connection
(2) Resources that do not use resource adapters for connection

(1) Resources that use resource adapters for connection

The resources that use resource adapters for connection are as follows:

Database
You can connect Application Server to a database. To connect to the database, use DB Connector as the resource adapter.
You can connect to the following databases with DB Connector:
  • HiRDB
  • Oracle
  • SQL Server#
  • XDM/RD E2
#: You can only connect to SQL Server in the case of Windows.
For details on connecting to a database, see 3.6.1 Overview of DB Connector-based connections.
Database queue
You can connect Application Server to the database queues used with Cosminexus RM. To connect to the database queue, use DB Connector for Cosminexus RM and Cosminexus RM as the resource adapter.
You can connect to the following databases with DB Connector for Cosminexus RM and Cosminexus RM:
  • HiRDB
  • Oracle
For details on connecting to a database queue, see 3.7.1 Overview of connections using DB Connector for Cosminexus RM and Cosminexus RM.
OpenTP1
You can connect Application Server to the OpenTP1 products - SPP, TP1/Message Queue, and Outbound. To connect to OpenTP1 SPP and Outbound, use uCosminexus TP1 Connector as the resource adapter. To connect to TP1/Message Queue, use TP1/Message Queue - Access as the resource adapter.
Also, you can use Inbound to connect to Application Server from OpenTP1 SUP. To use Inbound to connect from OpenTP1 SUP, use the TP1 inbound adapter as the resource adapter.
This subsection describes the details on OpenTP1 connections for each resource adapter used for the connections. The following table describes reference locations.

Table 3-3 Reference locations for the OpenTP1 connection details

Connection methodReference location
Connections using uCosminexus TP1 Connector3.8.1 Connections using uCosminexus TP1 Connector
Connections using TP1/Message Queue -Access3.8.2 Connections using TP1/Message Queue - Access
Connections using the TP1 inbound adapter4. Invoking Application Server from OpenTP1 (TP1 Inbound Integrated Function)
CJMSP Broker
When you use the Cosminexus JMS Provider functionality, you can connect Application Server with CJMSP Broker. To connect to CJMSP Broker, use the CJMSP resource adapter as the resource adapter.
For details on connecting to CJMSP Broker using the CJMSP resource adapter, see 7. Cosminexus JMS Provider.
Other resources
Regardless of the resource type, you can connect Application Server to the resources connectable with the resource adapters conforming to the Connector 1.0 specifications or Connector 1.5 specifications.
For details on the available resource adapters, see 3.13 Connection with other resources. For details on the functionality available for Application Server when you use the resource adapters conforming to the Connector 1.5 specifications, see 3.16 Other resource adapter functionality (For the resource adapters conforming to the Connector 1.5 specifications).

(2) Resources that do not use resource adapters for connection

The resources that do not use resource adapters for connection are as follows:

SMTP server
You can connect Application Server to the SMTP server. For details on connecting to the SMTP server, see 3.11 Connecting to the SMTP server.
JavaBeans
You can use JavaBeans resources as resources. For details on using JavaBeans resources, see 3.12 Using JavaBeans resources.