I'm building a new web app using Spring MVC 4 (under Tomcat) and I need to know what is the best approach to store the message source in my webapp.
Actually, I'm thinking to use the Spring properties file to manage all labels but I have some questions to ask:
Thank you!!
To answer your question yes you will have to redeploy if your messages change. Resource bundles are built and compiled once into the class files and stay the same unless you rebuild and redeploy. If you find that you need a dynamic messages that change without redeploying then it would be best to use something like a database. It's unusual however if you can't bring the application down then yes, put them in a database so you can redeploy them.