Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: The Deployment Life Cycle
- Next: Deployment by Module or Application

## Tools for Deployment

This section discusses the various tools that can be used to deploy modules and applications. The deployment tools include:

- Apache Ant

- The deploytool

- JSR 88

- The asadmin Command

- The Administration Console

### Apache Ant

Ant can help you assemble and deploy modules and applications. For details, see asant Assembly and Deployment Tool.

### The deploytool

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`.

### JSR 88

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.

### The asadmin Command

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 Platform Edition 8.1 2005Q2 Update 2 Reference Manual.

To deploy a lifecycle module, see Deploying a Lifecycle Module.

Note –

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.

### The Administration Console

You can use the Administration Console to deploy modules and applications to both local and remote Application Server sites.

#### To use the Administration Console for deployment

1. Open the Applications component.

2. Go to the page for the type of application or module.

   For example, for a web application, go to the Web Applications page.

3. Click on the Deploy button.

   You can also ``undeploy, enable, or disable an application or module from this page.

##### See Also

For details, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide.

To deploy a lifecycle module, see Deploying a Lifecycle Module.

- Previous: The Deployment Life Cycle
- Next: Deployment by Module or Application

- © 2010, Oracle Corporation and/or its affiliates