[jboss-user] [Clustering/JBoss] - Re: using db instead of sticky sessions

bstansberry@jboss.com do-not-reply at jboss.com
Fri Jun 27 00:13:07 EDT 2008


Not sure if you are talking about web sessions or SFSBs or both.  The referenced doc is about web sessions.

Anyway, for SFSBs at least, JBoss has no option to use a DB to persist your bean after every request.  Passivation to the file system is supported, but that doesn't write the session to disk after every update; only when the bean should be swapped to disk to conserve memory.

So, if you want to cluster SFSBs you need to replicate them, and that requires sticky sessions.

Same basically applies to web sessions, although there is a web session manager in Tomcat (and perhaps in JBoss Web) that can write to a db.  Not sure if that's only for passivation as well.  Last I looked at it a couple of years ago it wasn't really production ready.  Could have changed though.

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

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



More information about the jboss-user mailing list