Skip to main content


developerWorks  >  Rational  >

Rational Application Development certification prep, Part 6: Debugging and testing Java applications

developerWorks

Level: Introductory

Matthew Stobo (mstobo@us.ibm.com), IBM Senior IT Specialist, IBM

11 Apr 2006

Register now or sign in using your IBM ID and password.

In this sixth in a series of seven tutorials created to help you prepare for the IBM Certification Test 255, Developing with IBM Rational Application Developer for WebSphere Software V6, learn how to debug and test components of a J2EE application using the Integrated Test Environment of Rational Application Developer and its built-in support for JUnit. Using breakpoints and other features of the Debug Perspective, step through Java code to find possible code breakers. Finish by mastering the art of creating JUnit TestCases and TestSuites and running them inside the development environment.

Objectives

  • 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

Prerequisites

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.


System requirements

To run the examples in this tutorial, install Rational Application Developer for WebSphere Software or Rational Web Developer for WebSphere Software. 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.



Duration

Under two hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss


My developerWorks needs you!

Connect to your technical community


More in this series:
Rational Application Development certification prep