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.
The portlet will be instantiated during startup. The portlet will be loaded using the same classloading that is used for loading the Web application.
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 ...