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

- Previous: Installing and Preparing the Server for Development
- Next: Sample Applications

# Tools

The following general tools are provided with the Application Server:

- The asadmin Command

- The Administration Console

The following development tools are provided with the Application Server or downloadable from Sun:

- The asant Utility

- deploytool

- Verifier

- Migration Tool

The following third-party tools might also be useful:

- Debugging Tools

- Profiling Tools

## The asadmin Command

The `asadmin` command allows you to configure a local or remote server and perform both administrative and development tasks at the command line. For general information about `asadmin`, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual.

The `asadmin` command is located in the install-dir`/bin` directory. Type `asadmin help` for a list of subcommands.

## The Administration Console

The Administration Console lets you configure the server and perform both administrative and development tasks using a web browser. For general information about the Administration Console, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide.

To access the Administration Console, type `http://`host`:4848` in your browser. The host is the name of the machine on which the Application Server is running.

## The asant Utility

Apache Ant 1.6.2 is provided with the Application Server and can be launched from the `bin` directory using the command `asant`. The Application Server also provides server-specific tasks for deployment; see asant Assembly and Deployment Tool. The sample applications provided with the Application Server use Ant `build.xml` files; see Sample Applications.

For more information about Ant, see the Apache Software Foundation web site at `http://ant.apache.org/`.

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

## Verifier

The verifier tool checks a J2EE application file (EAR, JAR, WAR, RAR), including Java classes and deployment descriptors, for compliance with J2EE specifications. Use it to check whether an application has obvious bugs and to make applications portable across application servers. The verifier can be launched from the deploytool or from the command line. For more information, see The Deployment Descriptor Verifier.

## Migration Tool

The Migration Tool reassembles J2EE applications and modules developed on other application servers. For more information and to download the Migration Tool, see `http://java.sun.com/j2ee/tools/migration/index.html`.

For additional information on migration, see the Sun Java System Application Server Platform Edition 8.2 Upgrade and Migration Guide.

## Debugging Tools

You can use several debuggers with the Application Server. For more information, see Chapter 4, Debugging Applications.

## Profiling Tools

You can use several profilers with the Application Server. For more information, see Profiling.

- Previous: Installing and Preparing the Server for Development
- Next: Sample Applications

- © 2010, Oracle Corporation and/or its affiliates