Wolf-Dieter Fink [
https://community.jboss.org/people/wdfink] created the discussion
"Re: [AS7.1.1] EJB JNDI Lookup confusion: remote vs local"
To view the discussion, visit:
https://community.jboss.org/message/775432#775432
--------------------------------------------------------------
Hi Philipp,
welcome to the forum :)
The thing is that you can use different approaches from a remote client.
In your case you should drop 'java:' from the JNDI name, this should work.
The prefered approach is the 'ejb:' prefix which use the ejb-client (and not the
remote-naming as you did).
You should have a look to the documents:
ejb-client)
https://docs.jboss.org/author/display/AS72/EJB+invocations+from+a+remote+...
https://docs.jboss.org/author/display/AS72/EJB+invocations+from+a+remote+...
remote-naming)
https://docs.jboss.org/author/display/AS72/Remote+EJB+invocations+via+JND...
https://docs.jboss.org/author/display/AS72/Remote+EJB+invocations+via+JND...
and you can find some examples here:
https://github.com/wfink/jboss-as-quickstart/tree/ejb-clients/ejb-clients
https://github.com/wfink/jboss-as-quickstart/tree/ejb-clients/ejb-clients
I hope that helps.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/775432#775432]
Start a new discussion in JNDI and Naming at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]