I stumbled upon this discussion while looking at
http://commons.apache.org/configuration/userguide/howto_filebased.html#Automatic_Reloading
I have no plans at the moment, but I'd like to use something like that indeed
Jacques
From: "Erwan de FERRIERES" <[email protected]>
Le 14/03/2010 17:57, Joe Eckard a écrit :
Something I've thought about from time to time but never followed
through all the way to make sure there are no glaring problems: switch
UtilProperties to use something like Commons Configuration.
This would essentially put all configuration variables into one
namespace, where they would be accessed via XPath expressions. You could
pull and merge from various sources like properties files or XML files,
get (optional) automatic saving / reloading, and (optional) property
overriding.
The main reason for this would be to have a single file you could use
for deployment (dev.xml, staging.xml, production.xml, etc) - drop this
in your hot-deploy component and have it override the values in
framework / applications.
Very good thought ! Have you already got a POC ?
--
Erwan de FERRIERES
www.nereide.biz