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:

  1. Start the WebSphere Application Server administrative console. To start the console, open this URL in your browser:

    http://your.server.name:port/admin

    where 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.

  2. In the topology tree, expand Applications, and click Install new application.

  3. 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.

  4. Click Next.

  5. On the Prepare for application install page, accept all default values, and click Next.

  6. On the Install New Application: Step 1 page, accept all default values, and click Next.

  7. On the Install New Application: Step 2 page, accept all default values, and click Next.

  8. On the Install New Application: Step 3 page, check the module, and click Next.

  9. On the Install New Application: Step 4 page, click Finish.

  10. 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.

  11. In the topology tree, expand Applications, and click Enterprise Applications.

  12. Check MDBSamples, and click Start.

    You will receive a message stating that the application started successfully.

Continue Next: Verify the application