JATO Tutorial

Chapter 2, Task 4

Task 4—Run the Customer page

Before finishing this chapter, let's first run the Customer page and see it retrieve data from the database.

Step 1: Compile, deploy, and run the Customer page

  1. Make sure all the classes in the classes directory are compiled
  2. Package up the JatoTutorial directory using a zip or jar tool. Name the output file JatoTutorial.war Remember, the /WEB-INF directory should appear in the root of the WAR file.
  3. Deploy and run the application in your J2EE container of choice:

    http://localhost:8080/JatoTutorial/module1/Customer (Apache Tomcat or Caucho Resin)
    http://localhost/NASApp/JatoTutorial/module1/Customer (iAS 6.x)

  4. Test the update. Modify one of the editable fields and press the submit button. The Customer page should be redisplayed.