The J2EETM Tutorial
Home
TOC
PREV TOC NEXT Search
Feedback

Deployment Tool

The deploytool has two versions: GUI and command-line.

The GUI version enables you to package components and to deploy applications. If you run the deploytool script with no options, the GUI version is launched.

The GUI version includes online help information that is context sensitive. To access a help topic for a particular dialog box or tabbed pane, press f1. For a quick introduction to the tool, see the chapter Getting Started.

The command-line version of the tool enables you to deploy and undeploy applications. To package components from the command line, use the packager tool.

Table 42 deploytool Options 
Option
Description
-deploy
<myApplear>
<myServerName>
[<myAppClientCode.jar>]

Deploys the J2EE application contained in the EAR file specified by <myApplear> onto the J2EE server running on the machine specified by <myServerName>. Optionally, a JAR file for a stand-alone Java application client may be created by specifying <myAppClientCode.jar>.
-deployConnector
<rar-filename> <server-name>

Deploys the resource adapter contained in the RAR file specified by <rar-filename> onto the J2EE server running on the machine specified by <server-name>.
-listApps
<server-name>

Lists the J2EE applications that are deployed on the J2EE server running on the machine specified by <server-name>.
-listConnectors
<server-name>

Lists the resource adapters that are deployed on the J2EE server running on the machine specified by <server-name>.
-undeployConnector
<rar-filename>
<server-name>

Undeploys the resource adapter contained in the file specified by <rar-filename> from the J2EE server running on the machine specified by <server-name>.
-uninstall
<app-name>
<server-name>

Undeploys the J2EE application whose name is <app-name> from the J2EE server running on the machine specified by <server-name>.
-help
Displays options.
-ui
Runs GUI version (default).

Home
TOC
PREV TOC NEXT Search
Feedback