30.2. Sample scenario

This section provides a sample scenario to illustrate how to fix compile and runtime errors in portlets using the debug functions provided by Rational Application Developer. You will use the portlet used in Chapter 6, “IBM Portlet API portlet development” on page 203 as a base for this scenario. These activities will allow you to understand the techniques used to debug portlets.

30.2.1. Fixing compile errors

In this section, an example is provided to illustrate a Java code validation. An invalid character will be entered in the Java code to introduce an error and illustrate the correction process.

Rational Application Developer provides different validators for different types of project resources, for example XML, HTML ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.