Before you start
This tutorial covers unit and component testing for Java code, Web services, servlets, SCA, and EJB beans through HelloWorld samples (developing a HelloWorld program is considered the easiest way to learn new concepts). Here you perform unit and component testing using the JUnit and Jakarta Cactus testing frameworks.
Upon completion of this tutorial, you should understand how to perform unit and component testing, and automate those tests with Apache Ant using IBM Rational Application Developer, IBM Rational Software Developer, or IBM WebSphere Integration Developer.
To follow along with this tutorial, you should have a basic knowledge of the technology you want to test, whether it's SCA, servlets, EJB beans, Web services, or Java code. You should also have basic technical experience with the products listed in the System requirements section.
In this tutorial, you can use any of the following tools to test Java code, Web services, servlets, and EJB beans:
- Rational Software Architect V6.0
- Rational Application Developer V6.0
To perform SCA testing along with Java, Web services, servlets, and EJB testing, you need WebSphere Integration Developer V6.0.1 or 6.0.2.
Running component testing requires IBM Rational Agent Controller, which is an add-on included in the Rational Software Architect bundle.


