1 Reply Latest reply: Mar 7, 2013 4:12 AM by gimbal2 RSS

    Best way to handle .properties and .xml files


      I have an application which contains so many properties and XML files, these are a part of WAR file which we deployed in
      tomcat server. Whenever we make changes to these properties and XML files we redeploy the app and start the server.
      Is there any way we can make sure that these files can take changes without redeploying or starting the server?
      Please clarify.

        • 1. Re: Best way to handle .properties and .xml files
          Sure - keep them outside of the war. Pick any directory where you can put them (a directory where the server is allowed to read of of course), load them from that directory in your application. Make sure you can reach that directory through (S)FTP to easily be able to modify them. Then all you need is a way to reload them in the application, should the information be cached.