O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required