Sample Portlets
Sample: Remote Portlet (HelloUserRemotePortlet)
The following sample portlet, called HelloUserRemotePortlet is a remote portlet:
This portlet calls the Web application HelloUserWikExample. The HelloUserRemotePortlet application displays the string Hello user , where user is the name of the user who is logged on to the portal Web application. For details about the HelloUserRemotePortlet application, see Sample Web Application (HelloUserWikExample).
The following steps were used to create the HelloUserRemotePortlet. Click on each step to display details.
Create a directory structure for the portlet.
Create the portlet deployment descriptor (portlet.xml ).
Create the display resources file.
Create the Web application.
Create the PAR file, and deploy and test the portlet.
|