This content has been marked as final.
Show 3 replies
-
1. Re: weblogic->jboss Is there a jboos equivalent to weblogic
peterj Jun 30, 2008 2:51 PM (in response to grich)Yes, there is a properties service which you can enable. See http://wiki.jboss.org/wiki/PropertiesService
-
2. Re: weblogic->jboss Is there a jboos equivalent to weblogic
grich Jun 30, 2008 4:33 PM (in response to grich)Thanks for the quick reply, now sorry if this is a stupid question, but how do I access these for a regular class (not an ejb) running in a web app?
Thanks. -
3. Re: weblogic->jboss Is there a jboos equivalent to weblogic
peterj Jun 30, 2008 5:02 PM (in response to grich)These properties are loaded as system properties, so you can access them using standard system properties methods:
String val = System.getProperty("my.property.name");