O'Reilly logo

JUnit Recipes: Practical Methods for Programmer Testing by J B Rainsberger, Scott Stirling

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 13. Testing J2EE applications

This chapter covers

  • Testing web application page flow, including Struts
  • Testing your site for broken links
  • Testing web and EJB resource security
  • Testing container-managed transactions

As you read this book it should become clear that we advocate testing an application by testing its components thoroughly, and then integrating those components as simply as possible. Specifically, “integration” for us is little more than choosing which implementations of various interfaces to use, and then creating an application entry point object with references to those implementations. Which logging strategy do we use? How about Log4J! We know that our components work with any implementation of the logging strategy interface. ...

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