Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: To edit a lifecycle module
- Next: To edit a deployed application client module

## To deploy an application client module

An application client module, also called a J2EE application client JAR file, contains the server-side routines for the client.

1. In the tree component, expand the Applications node.

2. Select the App Client Modules node.

3. On the Application Client Modules page, click Deploy.

4. On the Deployment page, specify the location of the JAR file to deploy.

   The server machine is the host that is running the application server domain administration server. The client machine is the host on which you are viewing the Admin Console through a browser.

   - If the file resides on or is accessible from the client machine, click the radio button to specify a package file to upload to the Application Server.

     Click Browse to browse to the file, or type the full path to the file.

   - If the file resides on the server machine, or to deploy an unpackaged module from an exploded directory, click the radio button to specify a package file or a directory path that must be accessible from the server.

     Type the full path name to the file or directory. Deploying from an exploded directory is for advanced developers and is not recommended for production environments.

5. Click Next to display the Deploy Application Client Module page.

6. On the Deploy Application Client Module page, specify the settings for the module.

   1. In the Application Name field, either retain the default name, which is the prefix of the file name, or type another name.

      The default name appears if you chose to upload a file. The application name must be unique.

   2. If the module has already been deployed, select the Redeploy checkbox to redeploy it; otherwise you see an error.

      You can also choose a different application name and deploy it under a new name.

   3. To verify the structure and contents of the file before deployment, select the Verifier checkbox.

      Verification of large applications can be time-consuming. Verify the file if you suspect it is corrupt or non-portable.

   4. Choose whether to generate RMI stubs.

      If you choose to generate RMI stubs, static RMI-IIOP stubs are generated and put into the client JAR file.

      For the client-side routines:

      - Typically, the application provider ships a JAR file containing the client-side routines.

      - The application provider gets the client-side stubs by specifying the `--retrieve` option of the `asadmin deploy` command.

7. Click OK to deploy the module.

##### Equivalent asadmin command

`deploy`

##### See Also

- To undeploy an application or module

- To enable or disable an application or module

- Previous: To edit a lifecycle module
- Next: To edit a deployed application client module

- © 2010, Oracle Corporation and/or its affiliates