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

Deploying the Example Application

Deploying the Enterprise Bean and Web Client

Deploying firstcup.ear Using Ant

Undeploying the Application

Undeploying with Ant

Undeploying with asadmin

5.  Next Steps

 

Running the Web Client

This section describes how to run the firstcup application.

To run the application, do the following.

Running the firstcup Application

  1. Launch a web browser.
  2. Enter the following URL in the address field of the browser:
    http://localhost:8080/firstcup
  3. Enter your birth date in the Your birthday text field. Make sure you use the date pattern specified on the page: MM/dd/yyyy.
  4. Click Submit.
  5. After the response.jsp page is launched, click Back to return to the greeting.jsp page.