title: cross server environment variable
body: <p>I would like to set to be able to set a string variable such as "DEVEL" or "PRODUCTION", in <code>Glassfishv3</code> and <code>Apache tomcat 6</code> servers, and want it to be accessible from java code so I can change behaviour of my app according to the variable. What is the easiest way of doing that?</p>