O'Reilly logo

Next Generation Java™ Testing: TestNG and Advanced Concepts by Hani Suleiman, Cédric Beust

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

Chapter 4. Java EE Testing

Having explored some of the issues surrounding enterprise testing in general, it is time to turn our attention to testing Java EE components. Testing Java EE applications imposes unique constraints on us. Ultimately, most of the issues boil down to the fact that Java EE applications run inside a container. The container provides a variety of services, as well as a rich environment for components. The container also handles component lifecycles and initialization.

At first glance, these issues make the idea of testing EE applications difficult at best. None of the current crop of containers are designed to be embedded, and even if they were, the start-up times are often prohibitive. Not to mention that even if it were ...

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