users@glassfish.java.net

Quick question about sessions and managed beans

From: <glassfish_at_javadesktop.org>
Date: Sun, 14 Oct 2007 21:12:14 PDT

First, is it possible to configure glassfish to use say, a database for storing http session objects (so these wouldn't break in a clustering setup)?

Secondly, if using a managed bean, with the scope set to 'application'. Is it possible somehow to get glassfish to manage these beans are consistent on all application servers in a cluster? or would you have to manage this manually in code? (I'm thinking maybe a something like, setting the values though a synchronized static class method which then call web services on the other nodes, which then uses the same method (without calling the other nodes obviously) to update the bean) Additionally, how would a cluster not employing [i]sticky-round-robin[/i] respond to managed beans with 'session' scope?
[Message sent by forum member 'stooopiddev' (stooopiddev)]

http://forums.java.net/jive/thread.jspa?messageID=240043