Saturday, March 26, 2011

what are EventPortlet, ResourceServingPortlet interfaces?

The Portlet interface is the main abstraction of the Portlet API. All portlets implement this interface either directly or, more commonly, by extending a class that implements the interface.

The portlet can optionally implement the additional life cycle interfaces EventPortlet
and ResourceServingPortlet in order to leverage additional functionality for receiving
/ sending events or serving resources, respectively.

The Portlet API includes a GenericPortlet class that implements the Portlet,
EventPortlet and ResourceServingPortlet interface and provides default
functionality.

Developers should typically extend, directly or indirectly, the GenericPortlet class to implement their portlets.

No comments:

Post a Comment