title: Modifying a properties file inside a war
body: <p>I understand that a properties file cannot be modified inside a war ( I cannot write to it) . my war is essentially a java wrapper to make rest calls . so essentially , I make a POST call to the app , the app does its magic makes a few calls to different services and returns the data to me in a particular format . I am using apikey authentication to communicate with the application . I now want now design a private rest call to update some of these parameters incase we need to change the apikey at a later time . </p>
  
  <p>so essentially the app will read everything off an properties file . I now understand that I  <a href="https://stackoverflow.com/questions/2031248/java-outputstream-equivalent-to-getclass-getclassloader-getresourceasstream">cannot write to a properties file when it is packaged in a war</a> and am in quite a pickle . I cannot use a database because I am not sure which env it will be deployed to and I need it to be self contained . </p>
  
  <p>Any help on how I can get over this problem will be greatly appreciated . </p>