Empowering your entities
This post was originally published here by Valtech UK consultant Sandro Mancuso.
The first thing I learnt when I started with Object-Oriented Programming was that an object should have state and behaviour. And indeed, that’s how it was back then. However, since J2EE (Entity Beans) and other ORM tools like Hibernate, iBATIS, TopLink…