Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Quick Start Guide

- Previous: Starting and Verifying the Server
- Next: Packaging the Application using deploytool

## Starting the deploytool Utility

The `deploytool` utility is recommended for configuring complex JavaTM 2 Platform, Enterprise Edition (J2EETM platform) applications that require security controls, context parameters, enterprise beans, property-group settings (for HTML templates), or database connections.

The `deploytool` utility lets you:

- Create XML deployment descriptors without manually editing XML files.

- Package the classes and web content for a J2EE application into a Java archive (JAR), web application archive (WAR) or enterprise archive (EAR) file.

- Edit an existing archive file to modify its contents.

- Deploy a packaged application onto the Sun Java System Application Server software, or onto other application servers.

### Getting Ready

The install_dir`/samples/quickstart/` directory contains the files used in the Hello World application.

The `web` subdirectory contains the `index.jsp` and `response.jsp` files and the `images` directory, which contains the `duke.waving.gif` file.

The `web/WEB-INF` subdirectory contains the `sun-web.xml` and `web.xml` files.

The `src/conf` subdirectory contains the `LocalStrings.properties` file.

The Hello World application contains two JSPTM pages and the two files that they reference.

### Starting deploytool

Begin by starting `deploytool` using the instructions below. Solaris and Linux steps are in the first column, and Windows steps are in the second column:

Solaris/Linux | Windows
--- | ---
From the install_dir`/bin` directory, start the tool: `deploytool` | From the Start menu, choose Programs ⇒ Sun Microsystems ⇒ Application Server PE ⇒ Deploytool.

When `deploytool` starts, it looks like this:

The tree structure in the pane at the left shows currently active files. It also indicates that the admin server is available to carry out deployment operations at its assigned port number.

- Previous: Starting and Verifying the Server
- Next: Packaging the Application using deploytool

- © 2010, Oracle Corporation and/or its affiliates