27.2. Source cooperative portlet
In this section, you will execute the following tasks to enable a source portlet for cooperative portlets using the declarative approach:
Import the Echo portlet. This Struts portlet is provided as additional material and we assume that it has been downloaded to the following directory:
c:\LabFiles\Struts Cooperative Portlets\
Declare exchange capabilities using WSDL.
Update the portlet descriptor (portlet.xml) file to refer to the WSDL file.
Update the welcome struts action to get a reference to the property broker service.
Add internationalization of captions and descriptions.
27.2.1. Importing the Echo portlet
Follow these steps to import the Echo portlet:
1. | Select File → Import. In the import panel select WAR ... |
Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.