jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Eggerling-Boeck" <paulbo...@yahoo.com>
Subject Re: Web Application repository session management
Date Mon, 05 Mar 2007 18:38:56 GMT
I'm also a newbie so keep that in mind when reading this.  Seems to me
that you want a new Session each time (especially if you're working
with user-restricted access levels), but to keep the Repository object
around to be shared, essentially as a Session factory.  Sort of like
the Hibernate model.

Paul

On 3/5/07, Angelo Immediata <AngeloImm@libero.it> wrote:
> Hi.
>
> I'm newbie in JCR. What i'm wondering is: is it correct to do a lookup session search
for every operation into an web application? Or is it better to have only once the session
and work always with this object?
>
> Thanx to all.
> Bye
>
>
> ------------------------------------------------------
> Mutui da 200.000 euro? Tassi ridotti da 4.25% solo per richieste online. Mutuionline.it
> http://click.libero.it/mutuionline5mar07
>
>
>

Mime
View raw message