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:

  1. 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\

  2. Declare exchange capabilities using WSDL.

  3. Update the portlet descriptor (portlet.xml) file to refer to the WSDL file.

  4. Update the welcome struts action to get a reference to the property broker service.

  5. 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.