Sun GlassFish Enterprise Server v3 Scripting Framework Guide

ProcedureTo Deploy the WAR File

  1. Change to the rails-warbler/hello application directory.

  2. Deploy the application WAR file to the Enterprise Server by running the asadmin command:

    asadmin deploy hello.war
  3. Run the hello application by entering the following URL in your browser:


    http://<hostname>:<port>/hello