This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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?