Saturday, March 26, 2011

what you do in Portlet initializatoin method?

Once Container instantiates the portlet, it calls the
initialization method of portlet (init())

In Initialization,
we initialize costly resources (such as backend connections),
and perform other one-time activities.


This init() method gets PortletConfig object from Container,
which serve initialization parameters and the ResourceBundle defined in the portlet definition in the deployment descriptor

No comments:

Post a Comment