java - change a config.properties file in a jar / war file in runtime and hotdeploy the changes? -


Change a config.properties file in a jar / war file in the runtime and heat the changes? My requirement is as follows, we have "config.properties" in a jar / war file, I have to open the file through a webpage and the user has made the necessary changes for it, I have to update the "config" property "More in the jar / war file it deployed. Can we achieve this achievement? If you can do so, please tell me about the relevant sites / documents so that I I would strongly recommend your architects to reconsider this solution.

It also describes that it should be done through JNDI or a similar technique, not through reloading the properties.

The deployment should be considered stable - that any web container copy of magic Should not be allowed, and for a few days (in most uncomfortable times) Likely to happen).


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -