Sunday, October 9, 2011

Dealing with $$$$? You need ACID


If you’re deploying business logic to an EJB container, you’re probably dealing with some durable transactional stuff that’s needed by the customer. You need som ACID baby!

Atomicity – do it all or don’t do anything at all.
Consistency – Ensure everything is left integral.

Isolated – Nothing else should alter or interfere.

Durable – persist prior to finishing.

For financially significant applications you need transactions – with four quality attributes together: ACID.