Saturday, March 26, 2011

what are life cycle methods of Portlet?

This life cycle of a portlet is expressed through the
============================================================
init,

processAction,

render ,

destroy

In case of Servlets ,
===============================
Init ()

Service () [for http servletsm service can call doget(), dopost()]

destroy()


In case of EJBs
==============================

setSessionContext and ejbCreate

Then users invoke business methods

Container may invoke ejbPassivate() , ejbActivate ()

Finally container can invoke ejbRemove ()

No comments:

Post a Comment