Re: Usage of Application class and why set to ThreadLocal

2008-09-27 Thread Johan Compagner
And its just handy.. You can get to the application by one call everywhere in your code. Of couse we could have done with one threadlocal like RequestCycle and Application and Session can be got from there. But those 3 are just handy quick accessed objects On 9/26/08, James Carman [EMAIL

Usage of Application class and why set to ThreadLocal

2008-09-26 Thread Takeshi Matsuba
Hi all. I understand that there is one Application class instance per WicketFilter. So, I can use Application class like on memory database. (Wicket In Action too. ) I read source. I notice that Application class instance set ThreadLocal. I understand that value of threadLocal is Singleton per

Re: Usage of Application class and why set to ThreadLocal

2008-09-26 Thread James Carman
On Fri, Sep 26, 2008 at 7:28 AM, Takeshi Matsuba [EMAIL PROTECTED] wrote: Hi all. I understand that there is one Application class instance per WicketFilter. So, I can use Application class like on memory database. (Wicket In Action too. ) I read source. I notice that Application class