That is a great idea!

-Adrian

--- On Sun, 3/14/10, Joe Eckard <[email protected]> wrote:

> From: Joe Eckard <[email protected]>
> Subject: Re: Brainstorming about the Framework: General
> To: [email protected]
> Date: Sunday, March 14, 2010, 9:57 AM
> 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.


      

Reply via email to