6.10 Develop Spring REST Apps with XA
Use the MicroTx library with your Spring REST applications.
- Configure Library Properties for Spring REST Apps
Provide configuration information for the MicroTx library properties for every Spring REST application. The property values that you must provide would vary depending on whether the application is a participant or an initiator. - Configure Spring REST App as Transaction Initiator
A transaction initiator service initiates or starts a transaction. Based on your application's business logic, a transaction initiator service may only start the transaction or start the transaction and participate in the transaction as well. - Configure Spring REST App as Transaction Participant
Based on whether the resource manager is compliant with XA or not, set environment variables and implement different classes from the MicroTx library to configure your Spring REST participant application.
Parent topic: Develop Applications with XA