O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.1. Portlet messaging

One of the most significant advantages of the Portlet architecture is the portlets’ ability to communicate with each other to create dynamic, interactive applications. Portlets can use messages to share information, notify each other of a user’s actions or simply help better manage screen real estate.

Messages can be sent to all portlets on the same page, to a specific named portlet or to all portlets in a single portlet application. To send a message to all portlets on a page, you must send an instance of the DefaultPortletMessage. Portlets that are deployed as Web services cannot send or receive messages.

In order to make full use of this potential, you need to adequately architect the entire portlet application, anticipating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required