title: How to reload resource bundle in web application?
body: <p>I have resource bundle as Java class that read values from database. When i update db i need to reload bundle, but i don't know how. Anybody helps ?</p>
  
  <pre><code>package model.helpers;
  public class Messages_en extends ListResourceBundle {
        protected Object[][] getContents() {
              // from DB
              // ...
        }
  }
  </code></pre>
  
  <p>In view i use bundle  as below:</p>
  
  <pre><code>&lt;f:loadBundle basename="model.helpers.Messages" var="m" /&gt;
  </code></pre>