I have come up with a approach for communication between portlet applications 
and I would like to get some feedback.  My requirements are:

*  a session that is visible across portlet applications
*  an approach that will work well in a clustered environment (Julian, I 
couldn't easily see how to extend a static map so I started down an alternate 
path)


What I plan to do is create a Stateful Session Bean for each active user during 
login. When the Session Bean is first created, I will put the remote reference 
in the JBoss naming directory using the user's ID as the key.  Portlets that 
need to read or update attributes that cross portlet applications will lookup 
the remote reference using JNDI and interact with the user's instance of the 
Session Bean.  I believe this approach will behave well in a cluster since JNDI 
and Stateful Session Beans are well supported in a JBoss AS cluster, right?

Any feedback is appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873509#3873509

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873509


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to