William Martinez Pomares explains how REST-based services can be employed to manage transactions.
He cites the hypothetical example of a travel booking service, deployed using REST-based services. The configuration involves multiple resources, including flight booking, room
booking, and a
transaction resource that contains the transaction
data.
He describes the workflow using REST, employing PUT and POST commands.
"Client is freed from knowing the transaction is happening. Resources are just that, no databases nor tables that need transactions and the client doesn't have to choose the use of single or two phase commits. You can scale since you can change the number of servers or transaction managers without touching the client."















Leave a comment