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. >
I am very sure you are doing something wrong. I have profiled it and getting a JCR Session is an almost 0ms operation. Maybe you have used a transient repository, in which case if no JCR Sessions are alive then the repository is shutdown and it is started all over again for the next JCR Session. ./alex -- .w( the_mindstorm )p. > 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
