You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Jukka Zitting <ju...@gmail.com> on 2006/07/26 20:38:56 UTC

Re: multiple sessions

Hi,

On 7/26/06, Ramesh Devaraj <r....@maas.de> wrote:
> What are ways of handling the multiple sessions working on the same workspace?

Normally there is no problem with multiple concurrent sessions
accessing the same workspace. You only need to worry about concurrency
when more than one session is modifying the same node.

> And how can Resolving Conflicts with Persistent State

Jackrabbit normally prevents conflicts by throwing an
InvalidItemStateException when an attempt is made to modify a node
that has concurrently been modified by another session. You can avoid
the exception for example by using JCR locks. See the JSR 170
specification for details on how locks work in JCR.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development