1 Reply Latest reply on Feb 22, 2007 10:56 AM by Peter Johnson

    External WAR Configuration

    Paul Anderson Newbie


      Can anyone give me some ideas as to the best way to approach and implement external configuration for a WAR WepApp.

      My WebApp has grown considerably in size and scope since its inception and is requiring more and more "on the fly" changes to various parameters. At the moment I am struggling with an internal "Constants.java" file. What I would like is the ability for my WebApp to be able to lookup configuration data at runtime from say an XML file somewhere. Is this the best way to manage external configuration of a webapp?, and if so, where is the best place to put the XML config file?