Exercise 1.2: Introducing the enhanced Web application

Before you begin, you must complete Exercise 1.1: Reviewing the Web customer inquiry application.

By the end of this tutorial you will have enhanced the Web customer inquiry application. You will invoke the Web Interaction wizard to first create a new input page to view a list of customers (custList.jsp). Next you will add an iSeries RPG service program to handle this Web interaction that you just created. Then you will invoke the Web Interaction wizard to use the existing output page (result.jsp) to create new output pages to update customer records and confirm updates were completed on the iSeries (custDispUpdateResults.jsp and custDoUpdateResults.jsp). You will then run the application in the local test environment on your workstation. You will also create an informative error page if there is an error during the update of a customer record.

Here is the completed e-business customer inquiry application.

This is the Customer Inquiry input page.
inquiry.jsp

You click the Find link. The Customer List page opens:
Customer List

You select the first entry on the list and then click the Get Customer Number button. You return to the Customer Inquiry page with the customer number entered into the customer number field.
inquiry.jsp with 0010100 as customer number

Next you click the Submit button. The Customer details page opens showing the details of the selected customer.
Customer Details -- 0010100, Zip Code highlighted

When the information is displayed, you click the Update Customer Record button.
Customer update page -- Zip code modified

You change some of the fields and click the Submit button. You see the confirmation page with the new values.
Update Complete page -- new Zip applied

You then click the Back to Customer Inquiry link and you return to the Customer Inquiry page.

You have looked at the enhanced customer inquiry application that you will build in this tutorial.

Module recap

You have completed Module 1. Reviewing the existing RPG e-business application. You have learned how to:

You now know what the customer inquiry application will look like when you complete this tutorial and you are ready to begin Module 2. Creating the iSeries service program for your Web application.