jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Lombart <christophe.lomb...@gmail.com>
Subject Re: Question concerning ObjectContentManager
Date Mon, 21 Sep 2009 12:13:54 GMT
The answer to this question will depend on how are you creating the
jcr Sessions ?
Don't forget that JCR sessions are not thread safe. In the same
thread, it should be ok to have the same session for different
ObjectContentManager but I have never test it this situation.

Futhermore, what is the benefit to share the same session with
different ObjectContentManager ?

2009/9/19 Benjamin Rack <benjamin.rack@gmx.de>:
> Hi,
> is it possible that one Session instance is related with more than one
> ObjectContentManager at the same time? If yes, why? If no, why not? A short
> explanation would be very helpful.
> Best regards,
> Benjamin

View raw message