[jboss-user] [EJB 3.0] - Re: Newbie EJB 3 JNDI question

ALRubinger do-not-reply at jboss.com
Wed Dec 26 18:53:47 EST 2007


"wanebaylor" wrote : the jmx-console doesn't display the contents of local ENCs for EJBs

JNDIView bundled with the 5.x series does / will.

"gquintana" wrote : I don't (not sure yet) think "java:comp/env" local context is still used with EJB3.

When @EJB is defined on EJB A to EJB B, EJB A's local ENC will contain an entry to resolve the dependency.  This may be looked up via traditional JNDI (using the java:comp/env namespace, ejbContext.lookup() (without the prefix to the namespace), or via injection.

S,
ALR

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

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



More information about the jboss-user mailing list