Sai V [http://community.jboss.org/people/njv] created the discussion
"Communication between EJBs across 2 ears" To view the discussion, visit: http://community.jboss.org/message/548085#548085 -------------------------------------------------------------- Hi I have a "Role" bean implemented and deployed in Jboss as "svc" ear. I have a "Dbi" bean implemented and deployedin Jboss as "Dbi" ear. Now I want to call methods in the Role bean from Dbi bean methods. To do that I inject Role bean in Dbi using the code below... @EJB(name="Role", beanInterface=Role.class) roleLookup = (Role) new InitialContext().lookup("java:comp/env/ejb/Role"); I keep getting "NameNotFoundException: Role not bound", when I run this code. How do I resolve this error? Is it possible at all? I am new to J2EE and to these forums. So I apologise if my message is in an incorrect format or improper forum. Thanks Sai -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/548085#548085] Start a new discussion in EJB 3.0 Development at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user