1. my main problem is that I don't see an easy way of how to recover from
such a crash. I don't even see a way to check first because ItemState is
jackrabbit internal
you only can do a node.refresh() and try to save you modification again.

2. I believe that in almost every webapp adding a node to some special entry
node (such as a folder for messages) is very common.
use locking.

3. using a shared session does not seem to be an option (synch issue)
no. sessions are not threadsave.

Is there some sort of best practice working with multiple sessions? Does
this mean that one has to implement an application specific locking
mechanism?
make you node: mix:lockable

regards, toby
--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to