After you exported your application as an EAR file, installed an
IMS resource adapter and created a connection factory, you can use the EAR
file that you created to install the application in WebSphere Application
Server and then run the application.
To install your EAR file and run your application, complete the following
steps:
- Ensure that the server is started.
- On the welcome page of WebSphere Application Server,
expand Applications and select Install New
Application.
- Click Browse to navigate to the EAR file
that you want to install and then click Next.
- Click Next again until the page Install
New Application, which lists the steps for installation, appears
- Click Step 4: Map resource references to resources.
- In the javax.resource.cci.Connection.Factory portion of the page,
follow the steps provided on the page. Ensure that you complete
the steps described on the page. For example:
- Select an existing resource JNDI name in the drop down list.
- Scroll down the page and select the resource references that
you want to map.
- Then scroll back up the page and click Apply.
- Click Step 7: Summary and click Finish.
- Click Save when prompted to save your workspace
to the master configuration. After you save installing your
EAR file, the welcome page opens.
- On the welcome page, expand Applications > Enterprise
Application.
- Select the checkbox of the new application that you just installed
and click Start to run your application.
You have now installed your application on a production WebSphere
Application Server.