RUNNING THE EXAMPLES
====================

1. run mvn install to create the demo jar file

   (then cd into target/ to have examples-jta-rest-spring.jar in reach)
   
2. start the inventory service:

   java -cp examples-jta-rest-spring.jar inventory.InventoryApplication

3. start the payment service:

   java -cp examples-jta-rest-spring.jar payment.PaymentApplication

4. run the client with distributed transactions across payment and inventory:

   java -cp examples-jta-rest-spring.jar client.SpringClient
