Prev | Next

TOC | Index

J2EETM Developer's Guide
Running the J2EE Tools


Application Deployment Tool

The Application Deployment Tool enables you to build and deploy J2EE components and applications. If you run the deploytool script with no options, the GUI version is launched:

deploytool
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 Getting Started chapter of this manual.

The command-line version of the tool also enables you to deploy and undeploy applications. The following table describes the tool's command-line options:

TABLE 10-1 Command-Line Options for deploytool Script

Option

Description

-deploy <myAppljar>
<myServerName>
[<myAppClientCode.jar>]
Deploys the J2EE application contained in the .ear
file specified by <myAppljar> onto the J2EE server
running on the machine specified by <myServerName>.
Optionally, a .jar file for a stand-alone JavaTM
application client may be created by specifying
<myAppClientCode.jar>.
-listApps <server-name> Lists the J2EE applications that are deployed on 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).



Prev | Next

TOC | Index


Copyright © 2000 Sun Microsystems, Inc. All rights reserved.