The wide adoption of agile software development methods, such as Test-Driven Development (TDD), has made unit testing a central task for software developers. An average-sized web project can have hundreds, if not thousands, of unit test cases. Hence, testability has become a core feature for software frameworks.
Plain Old Java Objects (POJOs) are easy to unit-test. You just instantiate a POJO, using the standard Java
new keyword, and run its methods in any unit-testing framework. It is no coincidence that the spread of agile methodologies and POJO-based frameworks happened at the same time in the last couple years. Seam is a POJO-based framework designed for easy unit testing.
Enterprise POJOs do not live in isolation. ...