The Portlet interface is used by the portlet container to
invoke the portlets. Every portlet has to implement this interface,
either by directly implementing it, or by using an existing class
implementing the Portlet interface.
A portlet is a Java technology-based web component. It is managed by the portlet container and
processes requests and generates dynamic content as response. Portlets are used by portals as
pluggable user interface components.
The content generated by a portlet is called a fragment. A fragment is a piece of
markup (e.g. HTML, XHTML, WML) adhering to certain rules and can be aggregated
with other fragments into a complete document. The content of a portlet is normally
aggregated with the content of other portlets into the portal page.
The portlet container instanciates portlets, manages their lifecycle
and invoking them to process requests. The lifecycle consists of:
initializing the portlet using using the init method
request processsing
taking the portlet out of service using the destroy method
Request processing is divided into two types:
action requests handled through the processAction method,
to perform actions targeted to the portlet
render requests handled through the render method,
to perform the render operation
Portletinterface is used by the portlet container to invoke the portlets. Every portlet has to implement this interface, either by directly implementing it, or by using an existing class implementing the Portlet interface.A portlet is a Java technology-based web component. It is managed by the portlet container and processes requests and generates dynamic content as response. Portlets are used by portals as pluggable user interface components.
The content generated by a portlet is called a fragment. A fragment is a piece of markup (e.g. HTML, XHTML, WML) adhering to certain rules and can be aggregated with other fragments into a complete document. The content of a portlet is normally aggregated with the content of other portlets into the portal page.
The portlet container instanciates portlets, manages their lifecycle and invoking them to process requests. The lifecycle consists of:
initmethoddestroymethodRequest processing is divided into two types:
processActionmethod, to perform actions targeted to the portletrendermethod, to perform the render operation