Transactions and subresources with JAX-RS
I’m porting an existing application RESTful API to a Java web framework — I don’t actually care which — but it’s proving hard to get the basics right.
What is the usefulness of transactions in a batch (especially a Spring batch)?
I understand what a transaction is in a web application, where you have some groups of database interactions which have to fail or succeed together so the database is always in coherent state.
What is the usefulness of transactions in a batch (especially a Spring batch)?
I understand what a transaction is in a web application, where you have some groups of database interactions which have to fail or succeed together so the database is always in coherent state.
What is the best way to model transactional system with a need to read holding/balance?
I have a data model that is similar to the bank transactions. Simplified version looks like this: