1 Reply Latest reply on Dec 11, 2012 4:37 AM by nickarls

    dynamic resource bundle with modules

    mindchild

      Hi,

       

      I followed this guide to externalize our resource-bundles .. our resources are in a module now:

      https://community.jboss.org/wiki/HowToPutAnExternalFileInTheClasspath

       

      But we want to make the resources dynamic .. e.g. replace some msg.properties and reload via Java call:

      ApplicationAssociate.getCurrentInstance().getResourceBundles();

      (...)

      resources.clear();

       

      Problem is, the resources in the module don't get updated until AS7 is restarted.

      There is no way to make modules "hot deploy"?:

      https://community.jboss.org/message/733796

       

      Is there a way to make this work (with modules) .. or any way to have Dynamic-Resource-Bundles in AS7?

       

      Thank you in advance!