This appendix introduces the sample program that was used to test the use case scenarios in this IBM Redbooks publication. The sample application (see Figure A-1
) was developed to simulate a bank account transaction.
Figure A-1 Sample program handling bank account transaction
The application uses XA Data Source in a transaction that is viewed as a set of tasks run as a unit of work. XA Data Sources are Java Transaction API (JTA) ...