Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
7.1 Long-running sample application overview In this section we introduce the long-running application BatchTrade , used to demonstrate several features of the WebSphere Extended Deployment for z/OS long-running environment. 7.1.1 The BatchTrade application The BatchTrade sample application is a long-running, multi-step, batch application that is a front end to existing business services (that is, stock trading services). The BatchTrade application, illustrated in Figure 7-1 on page 139, consists of a single EJB jar file packaged in a J2EE ear file, BatchTrade.ear. The components of BatchTrade are: Step 1 - BatchGen: The first step optionally creates a file consisting of a randomly generated number of buy-stock and sell-stock trade records. Note that there is no input batch data stream to the BatchGen step. This was done to simplify the setup and demonstration of the BatchTrade sample. Step 1 generates the trade records for you and writes them to an output batch data stream. This stream is used as input to step 2. Step 2 - BatchTrade: The second step reads the batch input stream and