J2EE Deploytool — Utility for Deploying Modules and Enterprise Applications

Availability

J2EE 1.4 reference implementation.

Synopsis

deploytool [-server name[:port]] -deployModule [-id moduleID] 
    module [client_JAR]
deploytool [-server name[:port]] -deployGeneratedModule [-id moduleID] 
module generated_JAR
deploytool [-server name[:port]] -listModules type
deploytool [-server name[:port]] -undeploy moduleID

Description

The deploytool utility provided with the J2EE 1.4 reference implementation provides both a command-line and a graphical user interface that allow you to create and deploy J2EE modules to the J2EE RI application server. You can also use the same utility to deploy an existing module. The GUI interface is used when no command-line arguments are supplied. This section covers only those command-line features of the deploytool utility that are relevant to web services.

Options

Most forms of the deploytool command include an optional module ID, which is used to uniquely identify a deployed module within the application server. If an explicit module ID is not supplied, then one is created by taking the display name of the module and replacing all spaces by underscore characters. The display name is obtained from the display-name element of the module’s deployment descriptor (i.e., META-INF/ejb-jar.xml for an EJB JAR file, WEB-INF/web.xml for a web archive, META_INF/application-client.xml for a client archive, META-INF/ra.xml for a Connector resource archive, or META-INF/application.xml ...

Get Java Web Services in a Nutshell 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.