Before you start
Rational® Application Developer for WebSphere® Software is the IBM Software Development Platform that allows you to quickly design, develop, analyze, test, profile and deploy Web, Web services, Java™, J2EE, and portal applications. This series of seven tutorials helps you prepare to take the IBM certification Test 255, Developing with IBM Rational Application Developer for WebSphere Software V6 to become an IBM Certified Associate Developer. This certification targets entry level developers and is intended for new adopters of IBM Rational Web Developer or IBM Rational Application Developer for WebSphere Software V6.0, specifically professionals and students entering into Web development using IBM products.
This tutorial is the sixth in the series designed to help you prepare for the IBM Certification Test 255: Developing with IBM Rational Application Developer for WebSphere Software V6. It focuses on debugging and testing components of a J2EE application using the Integrated Test Environment of Rational Application Developer and its built-in support for JUnit. It will ensure you understand how to set and manage breakpoints to allow you to step through and examine your code using the integrated debugger. You will also learn of a few other testing features such as the Scrapbook, which allows you to test snippets of code without needing a full class structure around them, and the built-in support for JUnit, which provides wizards for creating TestCases and TestSuites for unit testing. After you complete this tutorial, continue with the seventh and final tutorial in the series.
By the end of this tutorial, you should have a good understanding of how to:
- Manage breakpoints
- Step through and examine Java code
- View variables and execute, display, and inspect expressions
- Create and run code in Scrapbook page
- Perform JSP page debugging
- Use step-by-step debugging
- Locate and view WebSphere application server logs
- Perform unit testing using JUnit
The tutorial assumes that you have followed the certification series tutorial track and are already somewhat familiar with the development environment. If you are unfamiliar with the environment, or J2EE applications, review all the preceding tutorials before attempting this tutorial.
To run the examples in this tutorial, install Rational Application Developer for WebSphere Software or Rational Web Developer for WebSphere Software. You can download a free trial version of Rational Application Developer for WebSphere Software if you don't already have a copy of it.
The hardware and software requirements for this software can be located at IBM Rational Application Developer System Requirements.
While you develop a simple J2EE application in this tutorial, doing so is not its focus. This tutorial assumes that you are already familiar with the development environment of Rational Application Developer, hereafter Application Developer. This tutorial focuses on debugging and testing components of a J2EE application using the Integrated Test Environment and Application Developer's built-in support for JUnit.




