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

Part 2. Testing J2EE

Most “serious” Java development these days revolves around J2EE: enterprise components for Java. This part of the book explores testing techniques for the core J2EE technologies: servlets, JavaServer Pages, Velocity templates, Enterprise JavaBeans, and Java Messaging Service. It also covers concepts common to web application platforms: page flow, dynamic content, distributed objects, as well as the separation of application logic, business logic, and persistence. The recipes in this part of the book generally fall into two categories: refactoring towards testing J2EE designs, and dealing with legacy J2EE designs, where legacy generally means “you are afraid to change it.” From this point forward, recipes build on the foundations ...

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