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
Thanks for the help
I can't think of any easy way off hand to do this. Most likely you woul build an MBean that would bind these values in the JNDI server and you would do a JNDI lookup to obtain the values.
Someone else may have a better suggestion.