On Mon, Dec 14, 2009 at 3:52 PM, Serge Huber <[email protected]> wrote: > The biggest problem is really that all of Jackrabbit's implementation is > tied to sessions. You cannot keep a reference to a Jackrabbit object and > close it's session, the object will not be usable outside of a session. So > either we need to make sure that we have sessions that live long enough, or > we would need to copy data out of the JCR objects.
It's quite normal for the backend (Jackrabbit or not) to be using sessions where objects cannot outlive a closed session. By this I mean that the problem will likely appear with other backends as well. So it really must be fixed at some point :) Florent -- Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
