On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > The only requirement would be that the JCR Session to be
> > request-confined (so thread safe). I really think this is possible in
> > Wicket, but I am still waiting for your book to go out so that I can
> > give better answers to this :-).
>
> Heh. If a session is thread bound (though I wouldn't see the point of
> that, but I don't Jackrabbit very well), you could follow a
> threadlocal pattern like you'd do with Hibernate. A servlet filter or
> request cycle for managing the thread local would make sense then. And
> the repository looks like something you would define for an
> application scope to me.
>

Exactly my point :-). And yes, JCR Sessions are not thread-safe so in
many cases (and as a best practice) you need to make sure it is
thread-confined.

./alex
--
.w( the_mindstorm )p.

> Eelco
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to