I've tried to access my Enterprise bean in an Enterprise application client.
Using this 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=3984427#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...