Never trust roseindia. That site is terrible!
It does indeed matter whether the client is in- or outside the container. The creation of
the InitialContext for example is quite different, requires more parameters when doing so
from outside the container (things like where to find the container).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248299#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...