Seems they think keeping a reference in the session is a good idea: http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449. That might work, though I don't know how well it scales. That depends on the resources a session holds on to. If it does hold on to resources directly, a pool would be a better option. Though if you're just creating a proof of concept, you might start with a session based one to keep things simple.
Eelco On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > I'll ask around on the JackRabbit user and dev list, maybe that they have a > solution. But it is pretty expensive to create Sessions in JackRabbit. Your > performance is really shot to hell, when you are constantly creating > sessions. We used it in a very small App and the first time we run it, it > can take more than 10 seconds to load the page. > > 2006/10/17, Eelco Hillenius <[EMAIL PROTECTED]>: > > > > Requests and components are thread safe in Wicket. The pattern you are > > looking for might be a thread local (maybe with a servlet filter or > > custom request cycle). I don't know how expensive sessions are to > > create, and whether a pool of them is maintained by a repository. You > > might have to do some pooling yourself, though I'd be surprised if > > other people haven't thought of that before. > > > > Eelco > > > > > > On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED] > wrote: > > > I really want it to be threadsafe, but at this point i don't have a > good > > > picture of how that is done. > > > > > ------------------------------------------------------------------------- > > 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 > > > ------------------------------------------------------------------------- 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
