Hi
I read the topics in this forum. I am still confused about what is the final target to acheive for IPC.
I think there are two possible scopes:
(1)One portlet emits IPC message to affect the rendering of other portlet
(2)One portlet invokes methods defined in other portlets.
I think someone already proposal to use the second way by defining something like ejb-ref in the portlet.xml.
Why not try to use session message? E.g,. for portlets which would like to receive IPC message, it only need to use getAttribute("some specific url to the portlet instance" ,PortletSession.APPLICATION_SCOPE). For portlets need to pass message to other portlets, it only need to set correct session attribute. Does this way work?
regards
Yang
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885389#3885389
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885389
|