Testing a multi-page SDO application

This final task in a demonstration on how to create a multi-page SDO application. In this task you test the multi-page SDO application. It assumes you have completed:
  1. Configuring an SDO to use on multiple Faces pages
  2. Configuring a Faces master page to use with an SDO
  3. Configuring a Faces detail page to use with an SDO
  1. Select the JSP that you configured as the master page in the Project Navigator view, and click Run on server. If you are working with the DB2® V8.2 SAMPLE database and have completed the previous tasks, select the updateDepartment.jsp.
  2. Select a WebSphere® Application Server v6.1 server, then click OK. The master page launches in a browser.
  3. Click on the link you created on the master page, for example, Add Employee. The link opens a form in the detail page where you can enter in information. For example, the createEmployee.jsp where you can enter employee information.
  4. Enter information in the fields, then click Submit. You are returned to the master page, for example, updateDepartment.jsp. You should immediately see the update on the form on the master page. If you are using the examples, the DEPARTMENT contains the new EMPLOYEE that was added on the updateDepartment.jsp.
  5. Make a few more change on the detail page, then submit the master page. For example, add a few more employees on the createEmployee.jsp, and then submit updateDepartment.jsp to commit the changes to the database.
  6. Locate the table, for example, EMPLOYEE, under the servers node of the Project Explorer view, and right click and select Sample Contents. The Database Output view opens.
  7. Verify that the changes you made, for example, the new employees you created, were added to the database.

Feedback