1.Global - myDS
2.Local java:/comp/env/myDS
By default JBOSS has global JNDI context
Tomcat has local JNDI context
To export property:
JAVA_OPTS="$JAVA_OPTS -DpropertyDS=java:/comp/env/myDS"
Where propertyDS - name of system property that will be used in your application
No comments:
Post a Comment