+

Search Tips   |   Advanced Search

Communication with persistent wires

Use portlet wires for communication between portlets. Portlet wires are persistent data links.

The following two communication techniques are based on persistent portlet wires. We have to configure the wires in a separate step before the portlets can communicate:

    Portlet events
    This supports JSR 286 portlets only. The Java Portlet Specification 2.0 defines a model for communication by publishing and subscribing based on portlet events. This model is supported in WebSphere Portal v8.5. Portlet events can have complex objects as payload, if they provide an XML binding. With portlet events, WebSphere Portal v8.5 also supports communication links between remote (WSRP v2.0) portlets.

    Cooperative portlets

    Only JSR 286 portlets support this communication technique. WebSphere Portal v8.5 still supports the IBM specific cooperative portlet programming API that was provided by previous releases and is known as the Property Broker. However, if you develop new portlets, use the portlet events based on the JSR 286 standard instead. It provides equivalent and compatible functionality. For more information about moving from cooperative portlets to JSR 286 events, refer to Interoperability between events and cooperative portlets.

Note we can create communication links in both directions between JSR 286 portlets and JSR 168 portlets using the cooperative portlet API. However, that API does not support communication links between IBM and JSR 168 portlets.


See


Parent Triggering communication