I am deploying a war file to glassfish and would like to know if it is possible to have a file that can have properties stored in them that can be accessed within my web methods. The catch is I would like to change the file as business requests change wihtout having to recompile. I could store it in the DB or have it as system properties on glassfish itself but would like to know if the file way is possible.
I have read these but all seems like you would have to recompile?:
Load properties file in Servlet/JSP
loading properties file in init() of servlet without using context-param tag in web.xml