[jboss-dev-forums] [Design of Clustering on JBoss] - Re: Removing SFSB in HttpSessionListener
pete.muir@jboss.org
do-not-reply at jboss.com
Tue Sep 16 07:46:10 EDT 2008
"brian" wrote : If the Seam guys can provide any input on when they do and don't want notifications, that would be great. From JBAS-5778, it seems a sessionDestroyed() callback on undeploy is not good; any other cases I should know about?
Seam uses the sessionDestroyed callback to implement session cleanup. This includes going through and calling destroy on all objects in the session (which leads to the SFSB's remove method being called unless you explicitly ask it not to). As an undeploy does this anyway, I think you are right.
I can't immediately see any other cases.
Also, it's worth noting that in JBoss 5 we have the ability to automatically insert classes into a Seam apps classpath, allowing us to plugin alternative behaviour - this might be helpful here (Seam currently doesn't provide for plugability here, but it could if needed).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176755#4176755
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176755
More information about the jboss-dev-forums
mailing list