I think you are talking about IPC. There are good examples based on events in samples...
Have a look at them... Specifiacally, PortletA, PortletB in the samples events package.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073386#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...