Hi, On 7/26/06, Ramesh Devaraj <[EMAIL PROTECTED]> 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/ - [EMAIL PROTECTED] Software craftsmanship, JCR consulting, and Java development
