2.8 Portlet API

 <  Day Day Up  >  

Portlets are descendents of HttpServlets and as such inherit much of the basic functionality from that class. However, as illustrated in 2.4, "Servlets versus portlets" on page 59, there are some key differences. This section will introduce many of the key objects in the portlet API. This section is not intended to replace the javadoc and therefore will discuss the primary function of certain objects and some of their key methods . The complete javadoc for the portlet API can be found in the \WebSphere\PortalServer\app\wps.ear\wps.war\doc\Javadoc\WPS directory. For the most up-to-date API information, refer to:

www7b.software.ibm.com/wsdd/zones/portal/

2.8.1 Hierarchy

The abstract class Portlet descends from the HttpServlet interface as illustrated in Figure 2-11 on page 83. Note that the package structure indicates the portlet belongs to the org.apache.jetspeed.portlet package. It is important to understand that the WebSphere Portal API and the Jetspeed API are not the same, or even compatible at this time.

Figure 2-11. Portlet hierarchy

graphics/02fig11.gif

 <  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