[hibernate-dev] RE: new SPI for EJB3/Seam (Gavin King)
Josh Moore
josh.moore at gmx.de
Wed Sep 27 10:29:44 EDT 2006
Redirecting to list.jboss.org from sf.net
> For truly efficient clustering of extended persistence contexts in the
> context of Seam or EJB3, we need a way to propagate unflushed
> changesets. What we need is an SPI like this:
>
> Serializable changeset = session1.getChangeSet();
>
> session2.applyChangeSet(changeset);
>
> where session2 is an empty session, or perhaps even a session with some
> of the same entities as session1. The only state that needs to be sent
> in the changeset is new entities, unflushed updates to entities and
> deletions of entities.
>
> Steve, WDYT?
+1 even if my names not Steve. Seems like the same infrastructure would
also be usable in implementing a remote client session. (Discussed in
various places.)
~Josh.
More information about the hibernate-dev
mailing list