Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Your Email:

StrutsTestCase Simplifies the Development Process

By Sunil Patil
2005-04-28


Cactus Pros and Cons

Using Cactus can certainly be an advantage, but it's not without its difficulties. On the plus side, it lets you test your forward JSPs for compile and run-time errors, and lets you test your data access code. On the downside, this approach requires deploying our application in a container, then starting and stopping it for every change, making it a slower approach than the mock approach.

Tutorial Pages:
» Save Time by Using STC's Mock and Cactus Testing Approaches
» Sample Application
» Using the Mock Object Approach
» Advantages and Disadvantages of Mocking
» Cactus Approach
» Cactus Pros and Cons
» Conclusion
» Resources


First published by IBM DeveloperWorks


 | Bookmark
Related Tutorials:
» All about JAXP, Part 1
» Make Database Queries Without the Database
» Load List Values for Improved Efficiency
» 2 Ways To Implement Session Tracking
» A Simple Way to Read an XML File in Java
» Develop Aspect-Oriented Java Applications with Eclipse and AJDT