...
This means if a property appears in the External.properties file it will be read last and the setting for that property will be that which is set in External.properties. This is meant to provide a means for configuration to be set by a variety of different people. For instance if your application is going to only be used in known environments then those environments can be configured in config.xml and which environment the application is in can be determined by External.properties which resides in $CATALINA_HOME and never needs to be reset. If your application is going to be used in environments that are unknown the it makes sense for the application to be completely configured by External.properties and possibly reasonable defaults placed in either SGProperties or in config.xml. Any time properties need to be available from without the application it makes sense to have them configured in External.properties.
...
Behavioral differences
|