This section discusses the various tools that can be used to deploy modules and applications. The deployment tools include:
Ant can help you assemble and deploy modules and applications. For details, see asant Assembly and Deployment Tool.
You can use the deploytool, provided with Application Server, to assemble J2EE applications and modules, configure deployment parameters, perform simple static checks, and deploy the final result. For more information about using the deploytool, see the J2EE 1.4 Tutorial at http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html.
You can write your own JSR 88 client to deploy applications to the Application Server. For more information, see the JSR 88 page at http://jcp.org/en/jsr/detail?id=88.
See Naming Standards for application and module naming considerations.
You can use the asadmin deploy or asadmin deploydir command to deploy or undeploy applications and individually deployed modules on local servers. For details, see the Sun Java System Application Server Enterprise Edition 8.2 Reference Manual. The asadmin deploydir command is available only on the default server instance.
To deploy a lifecycle module, see Deploying a Lifecycle Module.
On Windows, if you are deploying a directory on a mapped drive, you must be running the Application Server as the same user to which the mapped drive is assigned, or the Application Server won’t see the directory.
You can use the Administration Console to deploy modules and applications to both local and remote Application Server sites.
Open the Applications component.
Go to the page for the type of application or module.
For example, for a web application, go to the Web Applications page.
Click on the Deploy button.
You can also undeploy, enable, or disable an application or module from this page.
For details, see the Sun Java System Application Server Enterprise Edition 8.2 Administration Guide.
To deploy a lifecycle module, see Deploying a Lifecycle Module.