If you use AS7.1 it will be different.
See https://docs.jboss.org/author/display/AS72/EJB+invocations+from+a+remote+client+using+JNDI
and
https://docs.jboss.org/author/display/AS72/Remote+EJB+invocations+via+JNDI+-+EJB+client+API+or+remote-naming+project
Reply to this message by going to Community
Start a new discussion in IronJacamar at Community