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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to