> > > > This is ***not*** an issue that Stuts can solve by itself
> > ... successful
> > > > resoluation depends totally on the capabilities of the
> > application server
> > > > you are using for development.
> > > >
> > > partly disagree with that : it's a good thing to let the
> > container do its
> > > job, and try to focus on Strus' job, but we could have in
> > 1.1 a facility
> > > (the one that was in 1.0) for manualy reloading the conf,
> > without having to
> > > reload the entire webapp which is usualy a lot longer !
> > > I'm not even talking about something fully automatic here ...
> > >
> > >
> >
> > Supporting this wouldn't help you in the very common case
> > where you are
> > recompiling the classes in your webapp.  It would also cause
> > *all* Struts
> > based applications in production to slow down, because Struts
> > would have
> > to synchronize around all reads of the data structures storing the
> > configuration information.
>
> No, no necessarily, as I mentioned previously on this topic.  If
> you want to be able to easily reload your configuration in
> development, you either "freeze" the servlet controller so that
> it rejects all requests while the configuration is being
> reloaded, or you make a deep copy of the Hashmap(s) containing
> configuration data and use those while the new configuration is
> being loaded.  In either case, you can achieve dynamic reload of
> configuration files without having to synchronize access.  As it
> is unlikely that you would be doing this in production, saying
> that this is too much overhead is a red-herring argument.
>
> b.t.w., I'm not clamoring for this to happen or anything (don't
> need it), just making a point...that there's more than one way to
> skin a cat. ;)  The container ability to reload a web application
> takes care of this, IMO.
>
> peace,
> Joe
>
>

Glad to here this ! :)
I think I agree with everything here ...
just would like to add that, for sure the container ability to reload a web
application takes care of this, but in the same time, it also takes care of
many other things that are a lot longer that reloading struts-config.xml ...
This why I'm looking for a way to do this without reloading the entire
webapp :)




________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut D�bit soit 150,92 euros d'�conomies !
Et pour 1 euro de plus, re�ois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en r�seau offert ! 
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to