[jboss-user] [JNDI and Naming] - Re: JNDI binding and NameNotFoundException

Wolf-Dieter Fink do-not-reply at jboss.com
Wed Dec 14 13:37:33 EST 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

"Re: JNDI binding and NameNotFoundException"

To view the discussion, visit: http://community.jboss.org/message/641596#641596

--------------------------------------------------------------
You should use '@EJB MyBeanLocal xxx;' instead of code a lookup, you are using EJB3 with injection.
In this case you don't have to know the JNDI name.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/641596#641596]

Start a new discussion in JNDI and Naming at Community
[http://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/20111214/5ae47275/attachment.html 


More information about the jboss-user mailing list