Hi Andrea,
We use an "Open Session In View" pattern with Jackrabbit and
org.apache.commons.pool.KeyedObjectPool.
Within a Filter:
* we determine the context workspace name from the request (based on the
URL) 
* retrieve a JCR session from the pool
* bind it to the thread for the duration of the request and
* then return it to the pool again after the request completes.
This has worked well for us. Hope this helps.
Regards,
Shaun

-----Original Message-----
From: Andrea K. [mailto:[EMAIL PROTECTED] 
Sent: 24 December 2007 10:47
To: [email protected]
Subject: Shared session pool


Hi all,
I want to start a thread concerning forum users experience with session pool
in (web) apps using JR.
I read about many users are using pools in their applications.

Does anyone want to share his knowledge/code?

Thank you all.

Best regards and Merry Christmas.
AK.
-- 
View this message in context:
http://www.nabble.com/Shared-session-pool-tp14486499p14486499.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to