Document Information

Preface

1.  Introduction

2.  The Java Platform, Enterprise Edition

3.  Creating Your First Java EE Application

4.  Building, Packaging, and Deploying and Running the Example Application

Building and Packaging the Example Application

Building and Packaging the Example Application Using Ant

Building and Packaging firstcup-dukes-age Using Ant

Deploying firstcup-dukes-age.war Using Ant

Building and Packaging DukesBirthdayBean and firstcup Using Ant

Running the Web Client

Running the firstcup Application

Undeploying the Application

Undeploying with Ant

Undeploying with asadmin

5.  Next Steps

 

Deploying the Example Application

This section describes how to deploy the example application.

Deploying the Enterprise Bean and Web Client

The DukesBirthdayBean enterprise bean and firstcup web client were packaged in firstcup.ear. Now you'll deploy them to the Application Server.

Deploying firstcup.ear Using Ant

This task gives instructions on deploying firstcup.ear using Ant.

  1. In a terminal go to <INSTALL>/firstcup/example/firstcup.
  2. Enter the following command:
    ant deploy

    You should see Build Successful when the command finishes.