1 Reply Latest reply on Feb 11, 2004 2:15 PM by alanmoor

    variables outside ear

    karumady

      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


        • 1. Re: variables outside ear
          alanmoor

          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