You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Ramesh Devaraj <r....@maas.de> on 2006/07/26 17:26:18 UTC

multiple sessions

Hi All

 

         

      What are ways of handling the multiple sessions working on the same workspace?

 

       And how can Resolving Conflicts with Persistent State

 

  

Devaraj Ramesh

 

Maas High Tech Software GmbH
Hornbergstr. 49
70794 Filderstadt
Germany

 

 

http://www.maas.de <http://www.maas.de>  - Wir integrieren Zukunft

 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. 

 

 

 


Re: multiple sessions

Posted by Jukka Zitting <ju...@gmail.com>.
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