In this section, you will build the firstcup web application, deploy it to the server, and run the application.
While performing this task, you'll build and package the DukesBirthdayBean enterprise bean and the firstcup web client into an WAR file, firstcup.war, in the dist directory.
This section describes how to run the firstcup application.
Launch an internet browser.
Enter the following URL in the address field of the browser:
http://localhost:8080/firstcup |
Enter your birth date in the Your birthday text field. Make sure you use the date pattern specified on the page: MM/dd/yyyy.
Click Submit.
After the response.xhtml page is displayed, click Back to return to the greeting.xhtml page.
You are 20 years older than Duke! The average age difference of all First Cup users is: 20 |