Slightly off-topic but hopefully not too much. :-)
What is the best/preferred/recommended way of configuring an application during installation time or runtime?
Our application has a few configuration attributes that can and will differ from installation to installation.
Namely this is a mail server address for outgoing mail and some (cache) paths.
Currently this is configured with options in the WEB-INF/components.xml. However as this file is part of the application archive it is fixed unless you unpack, modify and repack the .ear and the .war files.
Is there any interface or documentation on how this should be done?