title: How to hot-reload properties in Java EE and Spring Boot?
body: <p>Many in-house solutions come to mind. Like having the properties in a database and poll it every N secs. Then also check the timestamp modification for a .properties file and reload it. </p>
  
  <p>But I was looking in Java EE standards and spring boot docs and I can't seem to find some best way of doing it.</p>
  
  <p>I need my application to read a properties file(or env. variables or DB parameters), then be able to re-read them. What is the best practice being used in production?</p>
  
  <p>A correct answer will at least solve one scenario (Spring Boot or Java EE) and provide a conceptual clue on how to make it work on the other</p>