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.6. JSR 168 Portlet life cycle

The life cycle of a portlet closely resembles the life cycle of a servlet. There are, however, some differences. The following section will describe the life cycle of a portlet from beginning to end.

WebSphere portal server will mange the life cycle of the portlet by using the methods of the Portlet class.

8.6.1. Instantiation

The portlet will be instantiated during startup. The portlet will be loaded using the same classloading that is used for loading the Web application.

8.6.2. Initialization

The init() method of the Portlet class is called when the portlet is first requested. Portal will pass a unique Portletconfig object to the init method. During initialization any one time setup for the portlet should ...

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