21. Unit Testing
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 became 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. They must ...
Get JBoss® Seam: Simplicity and Power Beyond Java™ EE now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.