Sun GlassFish Enterprise Server 2.1 Administration Guide

Deployment Commands

The deployment commands deploy an application or get the client stubs.

Table C–4 Deployment Commands

Command 

Definition 

deploy

Deploys an enterprise application, web application, EJB module, connector module, or application client module. If the component is already deployed or already exists, it is forcefully redeployed if the -‐force option is set to true.

deploydir

Deploys an application directly from a development directory. The appropriate directory hierarchy and deployment descriptors conforming to the Java EE specification must exist in the deployment directory. 

get-client-stubs

Gets the client stubs JAR file for an AppClient standalone module or an application containing the AppClient module, from the server machine to the local directory. The application or module should be deployed before executing this command.