Hi all,
Can anyone suggest, In JBOSS which is the best way to declare a variable (string or integer)outside the ear but can be accessed from the ejb.
expecting comments
You could use the properties-service to add a System property, if you don't mind it being visible to all applications in the JVM.
You could also use JNDI namespace, but I haven't figured out an easy way to do that in JBoss (I know, I know - I'm just lazy).
hth