1 Reply Latest reply on Nov 19, 2003 10:32 PM by Jon Barnett

    How do I pass parameters to the whole application

    bandlab Newbie

      My application needs to get several constant parameters like emailSmtpServer name,emailErrorsTo etc which need to maintained in a seperate file whuch will be maintained by system admin. So I dont want to create a file and put in the source. Is there any standard way of doing this so that whenever jboss is started up, it will read this file. Something like Connections.xml file in oracle 9ias ? This file will have parameter_name parameter_value in the file like

      emailErrorsTo errors@abc.com
      emailSmtp abc.com
      deliveryAgent true

      Thanks for the help