At this point you can run the application in the WebSphere Test Environment in the workbench. When you are satisfied that it is running properly, you can export the EAR file to the iSeries server and deploy it to the iSeries WebSphere Application Server.
As a customer, you would begin on the shopping Web page for the retail store, browse through items and then order a quantity and size.
Note: You might encounter problems if you try to run the application behind a firewall, because your web.xml file looks for the following file: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd. To solve this problem, before you run the application, change the DOCTYPE statement in all of your web.xml files to:
!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "x:/WDSC/eclipse/plugins/com.ibm.etools.j2ee/dtds/web-app_2_2.dtd"
where x:/wdsc is the directory where you installed the product. You can usually find your web.xml files under Project name > Web Content > WEB-INF. After you open the file, click the Source tab to edit the file directly.
To run the application as a customer in the workbench:
The page that displays the text "your order has been processed" is the last page of the sample. When your are satisfied with the sample, you can close the browser.
As an administrator, you would begin on the administration Web page for the retail store, and check on orders or store inventory. To run the application as an administrator in the workbench:
Copyright IBM Corporation 1992, 2003. All Rights Reserved.