Deploying the J2EE Application

Now that the J2EE application contains the components, it is ready for deployment.

  1. Select the ConverterApp application.
  2. Select ToolsRight ArrowDeploy.
  3. Under Connection Settings, enter the user name and password for the Application Server.
  4. Tell deploytool to create a JAR file that contains the client stubs. (For more information on client JAR files, see the description under Creating the Application Client.)
    1. Select the Return Client JAR checkbox.
    2. In the field below the checkbox, enter <INSTALL>/j2eetutorial14/examples/ejb/converter.
  5. Click OK.
  6. In the Distribute Module dialog box, click Close when the deployment completes.
  7. Verify the deployment.
    1. In the tree, expand the Servers node and select the host that is running the Application Server.
    2. In the Deployed Objects table, make sure that the ConverterApp is listed and its status is Running.
  8. Verify that a stub client JAR named ConverterAppClient.jar resides in <INSTALL>/j2eetutorial14/examples/ejb/converter.