< 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 HierarchyThe 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
|
< Day Day Up > |