This does not seem reasonable to me. I believe that some application configuration should be in the jar file. Things like ORM mappings, spring config, spring XSD user namespace, other XSD, etc. Should be in most cases at the bank. This is an important part of the deployment artifact.
The fact that this is not a class file does not mean that it should be removed from the can only because it can theoretically be changed without creating a new can. Can you imagine a modification of * .hbm.xml during production? it sounds very scary to me.
I think that some configurations, such as spring xml, are in most cases designed to better organize your application and dependencies, but not to change them at runtime during production.
tenshi
source share