cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: Session Replication
Date Wed, 05 May 2010 20:53:47 GMT
No direct experience, but I know you can serialize DataObjects and I'm
99% certain you can serialize DataContexts.   I think I did this in
one project in the past to preserve state between requests rather than
saving state in the sessions.

On Wed, May 5, 2010 at 4:37 PM, Michael Gentry <> wrote:
> Someone on another project here asked me if Cayenne works with session
> replication (with 1+ user DataContext objects in the HttpSession)
> between application servers (such as JBoss).  They have a project
> where they are running N instances of JBoss and they replicate/sync
> the session data across the JBoss instances.  They are curious if the
> DataContext + DataObjects will replicate correctly.  I've never
> attempted to do so and am not sure.  Does anyone have experience with
> this?
> Thanks!
> mrg

View raw message