Think of your personal bank account experience When in doubt, go for the simplest solution Requirements
- Deposit and Withdrawal
- Account statement (date, amount, balance)
- Statement printing
In order to save money As a bank client I want to make a deposit in my account
In order to retrieve some or all of my savings As a bank client I want to make a withdrawal from my account
In order to check my operations As a bank client I want to see the history (operation, date, amount, balance) of my operations
Master branche has a simple implementation with a domain layer only.
Persistence branche adds in a business layer to handle concurrent operations, and persistence to a H2 database.