In Tomcat you can specify global environment variables for your application in your server.xml file (e.g. ) and then retrieve them using InitialContext.lookup("java:comp/env/MyName"). I would like to do the same for my session beans. Is there an analagous facility to do the same in JBOSS?
The server.xml example was supposed to contain:
< Environment name="MyName" type="java.lang.String" value="MyValue"/>