The scenario package is a sample application developed using IBM WebSphere Development Studio Client for iSeries, the Eclipse-based technology for the iSeries server. The scenario is designed for developers wanting to use an iSeries server for:
The application consists of two .savf files that you restore onto your iSeries server and five .zip files that you import into the client product. They form a series of Web pages with URLs for various points in the process.
Important note: Check our support page for all service packs, PTFs, and other information: ibm.com/software/awdtools/wdt400/support/.
This scenario takes you through various parts of the product with an emphasis on iSeries-specific components such as:
The scenario illustrates the situation of two companies, a wholesale supplier and a clothing retail store, who do business together and both use their iSeries server for business logic and data. In the past, the businesses have communicated with each other through e-mail, telephone, and fax to check inventory, submit orders, and track orders to fulfilment. They now hope to use the Web to carry out regular business transactions.
The retail store wants to have a Web site that:
The wholesale supplier wants to:
In this scenario, you will take the role of a programming consultant for both of these companies, helping move their businesses to the Web.
The application has two different entry points based on the type of user. As a customer, you begin by viewing the products the store has to offer, in this case, casual clothing. If you want to make a purchase, you can click a link to access an order screen. After you order, a summary page is generated, and you can continue to shop, cancel the order, or submit the order.
As an administrator, you have a secure user ID for the application, requiring the security policy for the application to be defined during deployment. Your entry point is a login screen where you can view your orders, view the inventory, and purchase from the wholesale supplier. You could select items, check the latest wholesale price, and order the size and quantity you want. The application verifies if the wholesaler has the size and quantity you want, and either confirms the order or tells you that it cannot fulfill the order at this time.
Underneath the surface of the application, many actions are taking place in
the various parts of the product. The following table illustrates the
process and component of the product responsible for each part of the
application. Continue on to the detailed information about how to
perform each task.
Customer application tasks | Administrator application tasks | Underlying process |
Display product prices |
| Use an iSeries RPG program to create a Web service, and use Web development tools to view and display the prices. |
Place an order from the store |
| Use servlets and JSP files along with iSeries Java development tools, iSeries Web development tools, and the IBM Toolbox for Java to access and view inventory on an iSeries server as well as place orders and show a purchase summary. |
| View inventory | Use the IBM WebFacing Tool to convert an existing RPG program into a Web application and use Web development tools to customize the Web page. |
| Order from the wholesale supplier with the merchandise ID and quantity. | Create a Web service that is invoked when you click the Purchase button. |
View initial web page for the store. | View initial web page for ordering inventory. | Use Web development tools for iSeries to create both home pages. |
Copyright IBM Corporation 1992, 2003. All Rights Reserved.