2.1 What is a portlet?

 <  Day Day Up  >  

A portlet is a server side application that runs in the context of the WebSphere Portal Server. It inherits from the javax.servlet.http.HttpServlet class and as such is treated as a servlet by the application server. The portlet is executed inside a Web container managed by the application server. In the Portlet API, this container is referred to as the Portlet container.

Note : It is not possible to directly execute the portlet functionality by addressing the portlet via http.

Though a portlet may provide dual functionality as both a servlet and a portlet, it is certainly best practice to keep these controller functions separate. A portlet is visible on a portal page as a single small window, of which each portal page may have many. The portlet is the content inside the window, not the window itself. The window is defined by the selected skin.

 <  Day Day Up  >  


IBM WebSphere Portal V5 A Guide for Portlet Application Development
IBM Websphere Portal V5: A Guide for Portlet Application Development
ISBN: 0738498513
EAN: 2147483647
Year: 2004
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net