This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What we do in our projects is store the default properties in the war or jar-file and then have the modified properties-file written to either the user directory (defined by the user property 'user.dir') or another suitable directory.
If the user directory or properties store contains a properties file, we use that, otherwise we use the default properties file.
Joined: Jun 28, 2008
What about EJB which can contain more than one WAR-Files?
One default.properties in EJB and all one custom properties in each WAR-File?