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

Get JUnit Recipes 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.