Hi all,
We have an app which will be deployed at a number of sites. We call some external programs, so there are some configuration differences such as the location of the external binaries and their working directories. A recent requirements change mandates that users be able to configure these settings through our admin webapp.
Originally I used PropertyPlaceholderConfigurer to pull the values from a properties file and inject them as bean properties. In order to support editing the configuration through the web, I moved to a ConfigDao interface backed by a JDBC implementation. Now, however, I have a lot of confgDao.getProperty("foo") calls in the code, which aren't really sitting right with me.
How have other people dealt with this situation?
Thanks,
Patrick.


Reply With Quote