struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Sølvsten Rasmussen <k...@aarhusmail.dk>
Subject Re: Re: Reloading struts-config form-property
Date Tue, 20 May 2003 21:27:45 GMT
Tx for the reply.

After checking out the javadocs for FastHashMap and (re-)reading about double-checked-locking,
I felt pretty stupid!

Until I realised that feeling stupid is a sure sign, that one have just become wiser! Maybe
one day I might even become so smart, that I will be able to help out...

Kent


Craig R. McClanahan <craigmcc@apache.org> wrote:
> 
> 
> On Tue, 20 May 2003, Kent Sølvsten Rasmussen wrote:
> 
> > Date: Tue, 20 May 2003 17:50:30 +0200
> > From: Kent Sølvsten Rasmussen <kent@aarhusmail.dk>
> > Reply-To: Struts Developers List
> <struts-dev@jakarta.apache.org>
> > To: Struts Developers List
> <struts-dev@jakarta.apache.org>
> > Subject: Re:  Reloading struts-config form-property
> >
> > Just being curious (and hopefully to get wiser)...
> >
> > Wouldn't it be possible to solve the first issue pretty
> easily by using
> > the "Fast" implementations in commons-collections?
> 
> That's actually the way it works in Struts 1.0; however,
> there were two
> problems:
> 
> * There are some race conditions in the Fast* classes
>   on some JVMs that can cause corruption of the underlying
>   data structures.
> 
> * Too many people were surprised/disappointed that you
>   could reload the config (and even dynamically add and
>   remove Action mappings) but changes to the actual
>   classes were not picked up.
> 
> >
> > I guess reason no. 2 is still a sufficient argument to
> make this a bad
> > idea, though.
> 
> >
> > Kent
> >
> 
> Craig
> 
> ------------------------------------------------------------
> ---------
> To unsubscribe, e-mail:
> struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message