The base application

The base application, with its 3270 user interface, provides functions with which you can list the contents of a stored catalog, select an item from the list, and enter a quantity to order. The application has a modular design, which makes it simple to extend the application to support newer technology, such as web services.

Figure 1 shows the structure of the base application.
Figure 1. Structure of the base application
The components of the base application described in this topic.
The components of the base application are:
  • A BMS presentation manager (DFH0XGUI) that supports a 3270 terminal or emulator, and that interacts with the main catalog manager program.
  • A catalog manager program (DFH0XCMN) that is the core of the example application, and that interacts with several back-end components:
    • A data handler program that provides the interface between the catalog manager program and the data store. The base application provides two versions of this program. They are the VSAM data handler program (DFH0XVDS), which stores data in a VSAM data set; and a dummy data handler (DFH0XSDS), which does not store data, but returns valid responses to its caller. Configuration options let you choose between the two programs.
    • A dispatch manager program that provides an interface for dispatching an order to a customer. Again, configuration options let you choose between the two versions of this program: DFHX0WOD is a web service requester that invokes a remote order dispatch end point, and DFHX0SOD is a dummy program that returns valid responses to its caller.

      There are two equivalent order dispatch endpoints: DFH0XODE is a CICS service provider program; ExampleAppDispatchOrder.ear is an enterprise archive that can be deployed in WebSphere Application Server or similar environments.

    • A dummy stock manager program (DFH0XSSM) that returns valid responses to its caller, but takes no other action.