Step 4: Deploy the application
After you create the EAR file and set up your Java Message Service (JMS) resources, the next step is to install the EAR file into your WebSphere Application Server instance. To deploy the EAR file into your application server runtime, use the Application Installation Wizard. To use the wizard, follow these steps:
Start the WebSphere Application Server administrative console. To start the console, open this URL in your browser:
http://your.server.name:port/adminwhere your.server.name is the hostname of your iSeries server and port is your administrative port number. See the The administrative console topic for more information.
In the topology tree, expand Applications, and click Install new application.
In the Server path field, specify /mdbsamp/Deployed_MDBSamples.ear.
Note: The file resides on your iSeries server; however, you can map a network drive to access the iSeries server from your workstation and use the Local path installation. For more information, see Verify the prerequisites.
Click Next.
On the Prepare for application install page, accept all default values, and click Next.
On the Install New Application: Step 1 page, accept all default values, and click Next.
On the Install New Application: Step 2 page, accept all default values, and click Next.
On the Install New Application: Step 3 page, check the module, and click Next.
On the Install New Application: Step 4 page, click Finish.
Once you receive a message that the EAR file installed correctly, click Save in the toolbar. Click Save again to update the master repository with your changes.
In the topology tree, expand Applications, and click Enterprise Applications.
Check MDBSamples, and click Start.
You will receive a message stating that the application started successfully.