No, its not actually needed (now), because Jackrabbit invalidates
Session only in method Session.logout() (as I found in its sources). But
it can be problem in future because JCR spec says: "Session can expire
or be disconnected from repository for some reason". Maybe (I dont know)
Day JCR implementation has expiring feature so client can try to use
instance of PM with expired and invalid session.
Christophe Lombart wrote:
On 10/31/05, Martin Koci <[EMAIL PROTECTED]> wrote:
David Nuescheler recommends create new session on every request! See
http://www.mail-archive.com/[email protected]/msg02273.html
If you mean one new session (=> one new persistence manager) per HTTP
request. I think it is not a problem to do it now.
Honestly, we are not yet working on servlet integration and also not
on tx management. So, maybe I miss something - Can you explain more ?
Thanks,
Christophe
--
Mgr. Martin Kočí
---------------------------------
AURA, s.r.o.
Úvoz 499/56; 602 00 Brno
ISO 9001 certifikovaná společnost
tel./fax: +420 5 43 24 51 11
e-mail: [EMAIL PROTECTED]
internet: http://www.aura.cz
http://www.j2ee.cz
---------------------------------