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

8.5. Core JSR 168 objects

This section will describe the core object used when developing a JSR 168 portlet. We will also discuss some important method of each object.

8.5.1. interface javax.portlet.Portlet

All portlets must implements this interface directly or by extending a class that implements this interface. This interface defines the following methods.

void destroy()

This method is called when the portlet is being removed from service. Use this method to release any resources or write persistent state. Once the destroy method has been called no request can be sent to this portlet. If needed, a new portlet object will be instantiated to serve new requests. If there is a RuntimeException thrown during the destroy method, the destroy is ...

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