Hitachi

uCosminexus Application Server Application Setup Guide


7.2.3 Importing resource adapters (RAR files)

Import resource adapters (RAR) to include in J2EE applications. You can include resource adapters in a J2EE application to use resource adapters from the Enterprise Beans (EJB-JAR), servlets, and JSPs (WAR) of the same J2EE application.

For details on the resource adapters which you can import, see 5.1.1 Available resource adapters.

You execute the following command to import RAR files:

Execution format
cjimportres [server-name] [-nameserver provider-URL] -type rar -f path-of-RAR-file
Example of execution
cjimportres MyServer -type rar -f account.rar

For details on the cjimportres command, see cjimportres (import resource) in the uCosminexus Application Server Command Reference Guide.

Note:

You confirm that RAR files have a DD compliant with Connector version 1.0 or later specifications, and then start importing the RAR files. You cannot import RAR with a DD that is not compliant with J2EE Connector version 1.0 or later specifications.