Testing: Cactus and JUnit, Struts TagLibs and JSPs

The Testing: Cactus and JUnit chapter examines pitfalls when building a real-world test set with these tools. It looks at various pitfalls such as 'Unreasonable Assert', 'Console-Based Testing', 'Unfocused Test Method', 'Failure to Isolate Subject' and others. The Struts TagLibs and JSPs chapter looks at common pitfalls such as 'Not Using Struts Tags for Error Messaging', 'Performing Business Logic in JSPs', and others. Examples and solutions are provided for each pitfall.

The Testing: Cactus and JUnit chapter examines pitfalls when building a real-world test set with these tools. It looks at various pitfalls such as 'Unreasonable Assert', 'Console-Based Testing', 'Unfocused Test Method', 'Failure to Isolate Subject' and others. The Struts TagLibs and JSPs chapter looks at common pitfalls such as 'Not Using Struts Tags for Error Messaging', 'Performing Business Logic in JSPs', and others. Examples and solutions are provided for each pitfall.

These two chapters have been excerpted from 'Jakarta Pitalls'(Wiley), by Bill Dudney and Jonathan Lehr.


Testing: Cactus and JUnit

Struts TagLibs and JSPs


About the Authors

BILL DUDNEY is a Java architect with Object Systems Group. He has been building J2EE™ applications and software for five years and has been doing distributed computing for almost fourteen years. He is the coauthor of J2EE AntiPatterns (from Wiley).

JONATHAN LEHR is an independent consultant with more than twenty years of experience in software development and training. He has designed e-commerce applications for Fortune 100 companies.

Dig Deeper on Open source Java

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudApplications

SearchSOA

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close