Sun GlassFish Enterprise Server v3 Prelude Quick Start Guide

ProcedureTo Deploy the Sample Application Automatically

Before You Begin

The sample application must be available before you start this task. To download the sample, see Obtaining a Sample Application.

  1. Create a directory named as-install/domains/domain-name/autodeploy

    domain-name is the name of the domain for which you want to configure automatic deployment. For this example, use the default domain1 domain:


    as-install/domains/domain1/autodeploy
  2. Copy the application WAR file to the as-install/domains/domain-name/autodeploy directory.

    cp sample-dir/hello.war as-install/domains/domain-name/autodeploy

    Enterprise Server automatically discovers and starts the application.