[jboss-user] [EJB3] - Re: What is the JNDI parameter in ejb3 deployment?

Tomaz Cerar do-not-reply at jboss.com
Thu Dec 15 15:35:05 EST 2011


Tomaz Cerar [http://community.jboss.org/people/ctomc] created the discussion

"Re: What is the JNDI parameter in ejb3 deployment?"

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

--------------------------------------------------------------
JNDI name is any one of those that you got in log file.

so if you do:

Context ctx = new InitialContext();
IEJBHelloWorldPort hello = (IEJBHelloWorldPort) ctx.lookup("java:module/EJBHelloWorldBean");


it should work, and also you are trying to get remote bean, but you do not deploy it... that is also a reason why it does not work.


cheers,
tomaz
--------------------------------------------------------------

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

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111215/b590e467/attachment.html 


More information about the jboss-user mailing list