O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

26 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 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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required