Advanced Configuration of the Spring MVC Framework
Subject:   Synchronizing Bean Properties
Date:   2006-03-23 12:18:14
From:   mariuss
By moving configuration parameters out of applicationContext.xml into a Java properties file you definitely simplify the problem, but you are not solving it. You just moved the problem as well.

In practice you will have to manage several of these properties file and they will tend to be fairly complex. As your application evolves these properties files change as well, and maintaining them on all depoloyment locations is hard.

One solution that worked for me was to keep track of these different configuration file sets in the revision control system as well and the build script will take as a parameter the configuration you want to use (or the target deployment machine).

1 to 1 of 1
  1. Single point of configuration
    2006-03-24 02:24:36  Andrew_Sazonov [View]

1 to 1 of 1