Ok, I understand wickets aproach of pageobject bound to sessions. Do you have some trick to avoid new page instances for bookmarkable URLs as mentioned before?
Thank you very much, Maciej PS: I am building a new community page using wicket. So I have to test if wicket can handle thousands of new user request a minute. > -----Ursprüngliche Nachricht----- > Von: [email protected] > Gesendet: 03.11.06 16:48:51 > An: [email protected] > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and panels as martijn said. I am not talking about pooling pages over sessions > That is a nogo in wicket. No i was talking about a single session reusing > pages. > So if you create a link that goes back to page X then hold that page there. > > > pooling pages over sessions can't be done. Maybe for completely static pages > that has no dynamic parts at all. But then you can just use pure html. > > With the current jvm's you shouldn't pool objects because you don't want to > make them > > pooling (caching) of objects should only be done if the object when created > would do io kind of things > like Database Connections or database objects. > > Maybe very very big objects could be pooled like large buffers, but i also > don't know if that really would give > > you something. > > johan > > > > On 11/3/06, [EMAIL PROTECTED] < > [EMAIL PROTECTED]> wrote:Helo Johan, > > can you explain "pooling pages" in details and give me some short example? > > Do you mean putting pages into some kind of singleton or a synchronized > pool which holds reuseable pages? How are those pages given back to the > pool for reuse? > > Thank you very much, > > Maciej > > > -----Ursprüngliche Nachricht----- > > > Von: [email protected] > > Gesendet: 03.11.06 16:30:22 > > An: [email protected] > > > Betreff: Re: [Wicket-user] Strategy to avoid new instances of pages and > > panels > > what do you mean with reloads the page? > > > > A normal refresh (if url is wicket:interface=xxx) then a page is not > > recreated. > > > Or do you mean bookmarkable urls? > > > > Other links like pageLinks or your own links you can do what ever you want > > with (PortalSession)Session.get(). > > > > > > johan > > > > > > > > > > > On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > > > wrote:Hi all! > > > > I am looking for a pattern, strategy or code example how to avoid creation > > of new page Instances when a user reloads a page. Can someone give my a > > hint how to achieve following behaviour: > > > > > > > - "static" pages which have only a single instance during whole application > > lifecycle ? > > - some kind of page and/or factory or proxy to reuse instances? > > > > Any best practice or some examples would be nice. > > > > > > > Thank you very much, > > > > Maciej Bednarz > > > > > > > > ------------------------------------------------------------------------- > > 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 > > > > -- > mfG > > Bednarz, Hannover > > > ------------------------------------------------------------------------- > 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 > -- mfG Bednarz, Hannover ------------------------------------------------------------------------- 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
