[jboss-user] [EJB 3.0] - java:comp NameSpace in EJB 3.0

tshuynh do-not-reply at jboss.com
Tue Aug 29 16:15:30 EDT 2006


Hi 

I am using JBoss 4.0.4GA with EJB 3.0 and having a problem of looking up a EJB reference defined in jboss.xml using

   ctx.lookup("java:comp/env/ejb/MyEJB"); 

When I used the JBoss MBean service JNDIView, I recon that all the EJBs version 3.0 don't have a java:comp namespace section. Only EJBs version 2.X have it.

Is it normal that EJBs 3.0 don't have that namespace anymore?

Thank you.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968210#3968210

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968210



More information about the jboss-user mailing list