There are basically two kinds of properties;
- Properties that belong to the environment - for example the database you connect to when you are running the application in Dev. as opposed to the database you connect to when you are running in Prod.
- Properties that crosscut environments - for example how you want to log or the resource bundle you are using for messages.
That said you may want to override properties in certain environments - for instance you may want to use a different message bundle in Prod w/o recompiling or restarting the application so there needs to be a way to override properties as well as a way to change properties at runtime.
Add Comment