Hello all,
I am trying to use configuration files used in j2ee applications (property files, deployment descriptors) in a more dynamic manner. I have been searching for a suitable solution for some time now.
I have come across the following syntax within a configuration or properties file in a legacy project that I am to maintain.
...
...
Notice the JSTL-like syntax ${theVariable}
The above code comes from an xreg config file, read at startup.
I do not think that there is custom code that parses the file so that it is updated, but I think that this is a pretty cool mechanism for dynamic configuration of applications especially if the properties come from the shell environment variables and can be set at will, or from the java -D option.
If anyone knows anything about this technique please respond to the present mail or to kalohr at gmail dot com
thank you,
Joe