RE: ThreadLocal example pleeeeease!

2005-06-02 Thread Patrick Casey
instead of repeating the same code over and over again, neh? --- Pat > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > work.org] > Sent: Thursday, June 02, 2005 7:20 AM > To: Tapestry users > Subject: Re: ThreadLocal example please! &

Re: ThreadLocal example pleeeeease!

2005-06-02 Thread sarah . simbad
Tapestry users > Betreff: Re: ThreadLocal example please! > Datum: Thu, 02 Jun 2005 15:07:56 +0300 > > Why can't you use a custom Global object and > initialize the map in its constructor (will only get invoked once) > ??? > > > [EMAIL PROTECTED] wrote: >

Re: ThreadLocal example pleeeeease!

2005-06-02 Thread Andreas Andreou
go through the HashMap hundreds of timesI am looking for an easy way to "remember" the language and for instance domain/group specific data --- Ursprüngliche Nachricht --- Von: "Patrick Casey" <[EMAIL PROTECTED]> An: "'Tapestry users'" Betref

RE: ThreadLocal example pleeeeease!

2005-06-02 Thread sarah . simbad
/group specific data > --- Ursprüngliche Nachricht --- > Von: "Patrick Casey" <[EMAIL PROTECTED]> > An: "'Tapestry users'" > Betreff: RE: ThreadLocal example please! > Datum: Wed, 1 Jun 2005 11:15:13 -0700 > > > Public static final fAL

RE: ThreadLocal example pleeeeease!

2005-06-01 Thread Patrick Casey
day, June 01, 2005 11:03 AM > To: Pablo Ruggia > Cc: tapestry-user@jakarta.apache.org > Subject: Re: ThreadLocal example please! > > Thank you! The problem however is the following. > > Assuming I have 30,000 members online at the same time, > 10,000 belong to group

Re: ThreadLocal example pleeeeease!

2005-06-01 Thread sarah . simbad
data and 90 Mbytes where every single member of the 10,000 people keeps copy of its group data. Do you know what I mean ? Sarah > --- Ursprüngliche Nachricht --- > Von: Pablo Ruggia <[EMAIL PROTECTED]> > An: Tapestry users > Betreff: Re: ThreadLocal example please! > Datum

Re: ThreadLocal example pleeeeease!

2005-05-31 Thread Pablo Ruggia
> Sent: Tuesday, May 31, 2005 9:49 AM > To: tapestry-user@jakarta.apache.org > Subject: ThreadLocal example please! > > Could anyone of you post a quick example how to correctly > use ThreadLocal within a Tapestry page and a Tapestry component? > > My global ob

RE: ThreadLocal example pleeeeease!

2005-05-31 Thread sarah . simbad
... > --- Ursprüngliche Nachricht --- > Von: "Hensley, Richard" <[EMAIL PROTECTED]> > An: "Tapestry users" > Betreff: RE: ThreadLocal example please! > Datum: Tue, 31 May 2005 13:19:35 -0400 > > Sarah, > > Do you have a Visit? > > This sounds like se

RE: ThreadLocal example pleeeeease!

2005-05-31 Thread Hensley, Richard
] Sent: Tuesday, May 31, 2005 9:49 AM To: tapestry-user@jakarta.apache.org Subject: ThreadLocal example please! Could anyone of you post a quick example how to correctly use ThreadLocal within a Tapestry page and a Tapestry component? My global object currently is a map of group data and the

ThreadLocal example pleeeeease!

2005-05-31 Thread sarah . simbad
Could anyone of you post a quick example how to correctly use ThreadLocal within a Tapestry page and a Tapestry component? My global object currently is a map of group data and the key is the group key. Different page getter methods need parameters that is derived from the group data . E.g. a