This topic describes how to deploy an application developed using the Interface Mapping Toolkit to Oracle Application Server.
To run an application on Oracle Application Server you need to:
You can deploy using the Web-based administration console, called Enterprise Manager, or you can deploy using the command line tool dcmctl.
When you deploy an application .ear file or a resource adapter, you deploy it to an instance of Oracle Application Server Containers for J2EE (OC4J). An OC4J instance called Home is created by default when you install Oracle Application Server.
You can install Oracle Application Server by downloading it from http://www.oracle.com
To open Oracle Application Server, enter the URL http://localhost:7777 in your browser.
The following resource adapters are supplied for Oracle Application Server:
For the location and details of the resource adapters, see the section Resource Adapters in the chapter Deploying Interfaces in your Configuration and Administration Guide
Default deployment descriptors for your application are automatically generated when you generate a client for the EJB. They are packaged in the archive files (.ear .jar .war) and are named orion-*.xml
A default deployment descriptor for the resource adaptors is included in the supplied .rar archive files. This deployment descriptor,oc4j-ra.xml contains configurations for deploying resource adapters to OC4J. It includes:
You might need to modify oc4j-ra.xml. For example, you might need to change the server host from localhost to the name of the machine on which your enterprise server is running. To modify this file, extract it from the required .rar file, and reinstate it there after editing.
You can use the command line tool dcmctl to deploy a resource adapter or your application .ear file, and for other administration tasks. For full details of all the commands and their syntax, see the Oracle documentation. The following commands are a few simple examples.
To deploy the resource adapter mfcobol-notx-ora.rar, use a command such as:
dcmctl deployApplication -f $COBDIR/lib/mfcobol-notx-ora.rar -a mfcobol-notx-ora
To deploy the application myapplication.ear, use a command such as:
dcmctl deployApplication -f myproject/repos/myapplication.ear -a myapplication