From an administration
and performance perspective, it is important to understand how portlets
are executed. You can develop and deploy two types of portlets: local
portlets and remote portlets. For details, see
Developing
Portlets for the SAS Information Delivery Portal.
A local portlet is deployed
inside the SAS Information Delivery Portal and executes inside the
portal's Web application server. Because a local portlet executes
in the portal's Web application server, it consumes the computing
resources (for example, CPU, memory, and disk storage) of the server
machine on which the portal's Web application server runs. When local
portlets are deployed, they might also include resources such as Web
pages, style sheets, images, resource bundles, and Java classes that
are deployed inside the portal.
A remote portlet might
not execute within the same Web application server and Web application
as the portal. Remote portlets enable data from external applications
to be incorporated into a Web application. Therefore, a remote portlet
might consume computing resources (for example, CPU, memory, and disk
storage) on a different machine than the server machine on which the
portal's Web application server runs.
For details about the
steps to develop a remote portlet, and a detailed sample, see “Creating
a Remote Portlet” and “Sample: Remote Portlet (HelloUserRemotePortlet)”
in
Developing Portlets for the SAS Information Delivery
Portal.
From a user's perspective,
the local portlet and remote portlet look the same. When a user interacts
with a remote portlet, the remote portlet looks like a local portlet.