Business Logic for Hibernate. Simple as a Spreadsheet
| || |
Instead of writing
200 lines of Java code
Just declare these
5 business-oriented rules
- Constraint: balance < creditLimit
- balance = sum(orders.total where paid = false)
- order.total = sum(lineitems.amount)
- lineitem.amount = quantity * partPrice
- lineitem.partPrice = copy(part.price)
automatically ordered, re-used and optimized...
... every time you make a change
Subtracting code adds a lot...