For the JNDI naming, on the Java side, I use: java:comp/env/jdbc/tester and on the Websphere Server (8), I specify jdbc/tester as the JNDI name.
Now I am using JBoss AS 7.1.1. When specify the JNDI name, I must prefix it with java:/, so it now becomes java:/jdbc/tester
Is this correct way to migrate the JNDI to JBoss AS?
If it is, then how should I understand the statement that: "The java:comp is scoped to the current component while the java:/ is the global scope? The former is the module level while the latter is the global level?