I develop a web application.
The backend of it is jboss 6.1.
In this environment, what is the best way to implement the following:
Some custom entries outside in a file like DEBUG or STAGE or something like this with a value which can be changed.
In the session bean I want to read this value and behave according to this setting.
In other environments, a good way to implement this is a properties file.
But is it also with jboss?
Thanks a lot in advance
Wolfgang
I develop a web application. The backend of it is jboss 6.1. In this
Share
If configuration is limited then you can use
While launching Jboss you can speficy properties using -D option.
You can use System.getProperty(String Key) to access value of it.