hi stephan JCR sessions in jackrabbit are rather heavy objects. there are several caches for Paths, ItemStates, Items, etc...some of them are shared among sessions, but some not. i would do some sort of session pooling/sharing/reuse but you need to keep in mind the following points:
1) sessions hold local state information, such as transiently modified items, namespace mappings, etc. so they *cannot* be shared among clients that do write operations. 2) sessions are *not* 100% thread safe. so any read operation must be synchronized. hope this helps, 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 >---
