Deployment Tool

The deploytool utility 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 tab, press F1.

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 B-2. deploytool Options
Option Description
-deploy
<ear-filename>
<server-name>
[<client-stub-jar>]
Deploys the J2EE application contained in the EAR file specified by <ear-filename> onto the J2EE server running ...

Get J2EE™ Tutorial, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.