[jboss-user] [JNDI and Naming] - Re: [AS7.1.1] EJB JNDI Lookup confusion: remote vs local
Wolf-Dieter Fink
do-not-reply at jboss.com
Wed Nov 7 14:24:35 EST 2012
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+client+using+JNDI https://docs.jboss.org/author/display/AS72/EJB+invocations+from+a+remote+client+using+JNDI
remote-naming) https://docs.jboss.org/author/display/AS72/Remote+EJB+invocations+via+JNDI+-+EJB+client+API+or+remote-naming+project https://docs.jboss.org/author/display/AS72/Remote+EJB+invocations+via+JNDI+-+EJB+client+API+or+remote-naming+project
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&containerType=14&container=2083]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121107/de554de2/attachment.html
More information about the jboss-user
mailing list