jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Roeloffzen" <ted.roeloff...@gmail.com>
Subject Re: is jackrabbit Threadsafe?
Date Mon, 16 Oct 2006 10:15:59 GMT
So we don't have to create a variable for the JackRabbit session in the
HTTP-session, but we can use it in a request-cycle?? We are now using a
simple Abstract class en getting the session from it.



On 10/16/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
>
> On 10/16/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> > So when using it in a Web-application, every HTTP-session has to have
> its
> > own JackRabbit-session. So then it would be threadsafe?
> >
> >
>
> I think you should think about it in request-scope and not on Http
> session scope. Only request-response cycles are guaranteed to happen
> on the same thread.
>
> ./alex
> --
> .w( the_mindstorm )p.
>
> > On 10/16/06, Tobias Bocanegra <tobias.bocanegra@day.com> wrote:
> > >
> > > if every thread uses it's own jcr session, yes.
> > > regards, toby
> > >
> > > On 10/16/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> > > > I would really like to know if JackRabbit is threadsafe.
> > > >
> > > > Greets,
> > > >
> > > > Ted
> > > >
> > > >
> > >
> > >
> > > --
> > > -----------------------------------------< tobias.bocanegra@day.com>---
> > > 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>---
> > >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message