I've tried to access my Enterprise bean in an Enterprise application client.
Using this code :
Code:
| Context c = new InitialContext();
| return (BeanSessionRemote)
c.lookup("java:comp/env/ejb/BeanSessionBean");
|
but when I run my application I got the next Exception:
| javax.naming.NamingException: Failed to find j2ee.clientName in jndi env
|
May anybody help me?
Thanks a lot!
PS:
I'm using NetBeans 5.5
and I write in english very bad
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984431#3984431
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984431
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user