Install, run, and monitor an application that mimics account
transaction processing using the Postingv2 sample. The sample is built
using the simple Plain Old Java Object (POJO) model and packaged using
the WSBatchPackager batch packager.
Prerequisites for use
- WebSphere® Application
Server Version 8.0 or Version 8.5
Important: These samples were tested with WebSphere Application Server
Version 8.0 and Version 8.5.
Samples download
To use the samples, download
Java Batch Postingv2 sample files from a product download site:
- Choose one of the following methods to download the sample_postingsv2.zip file
to a directory on your workstation: FTP or HTTP. You might create the /samples/PostingV2Samples directory
path on your workstation and download Java Batch Postingv2 sample
files to that directory path.
- From the displayed dialog, specify the target directory to which
to save the compressed file and click OK.
The
sample_postingsv2.zip file
contains sample files in the following directory structure:
/images
/installableApps
/scripts
/src
/style
build.xml
readme.html
Attention: The readme.html file
contains information for installing and running the sample.
Samples description
- Java Batch Postingv2 sample
- You can install, run, and monitor an application that mimics account
transaction processing using the Postingv2 sample. The sample is built
using the simple Plain Old Java Object (POJO) model and packaged using
the batch packager, WSBatchPackager. The PostingsV2 sample is similar
to XDCGIVT in that it is a JDBC interaction mechanism, and provides
an example on making use of the batch data stream framework. This
sample populates a database table with hypothetical banking account
data and processes a series of debit or credit transactions on those
accounts. If the transaction would reduce an accounts balance to
less than zero and that account has overdraft protection, the account
balance is adjusted accordingly.