I have a web application which contains user specific information with admin,guest and normal user as a credentials.
I want to show the information posted by admin to all the logged in users . I can achieve this through ServletContext attribute.
But the problem is how can i notify to portlet to reload the page automatically whenever ADMIN post something.
Inter-Portlet Communication isn't supported in the Portlet 1.0 specification, so your best bet is to upgrade your portlets to Portlet 2.0 (JSR-268) and that will allow you to add the functionality you need.
The upgrade shouldn't be too complex, since the code should be backward-compatible.
ditto that IPC was introduced in the Portlet 2.0 spec, but if you're talking about passing messages to all users currently logged in from another account, or to all users period then this needs to be something supported by custom back end code and doesn't sound like something that is specifically portlet related (except that a portlet would be a great way to implement it)
Joined: Apr 07, 2010
Thank you david,Guy deLyonesse for your valuable reply , my problem is backend code doen not maintains list of all logged in users. If i set the Servlet/PortletContext parameter then is it possible to trigger all other portlets which are open(i.e the user having their that particular screen open) to update the screen ?