users@glassfish.java.net

name resolution in JNDI WRT Annotations

From: Joseph B. Ottinger <joeo_at_enigmastation.com>
Date: Wed, 15 Mar 2006 10:23:48 -0500 (EST)

I'm a little lost here. I'm trying to create an MDB, but I'm not sure how
to look up the mapped resources - I have a queue and a connection factory
defined, but when I use the canonical names, they never resolve. When I
use netbeans to create the references, it uses a "Name" attribute, but
using that name doesn't resolve either; I guess I'm just not sure how to
connect local contexts to the global JNDI context.

Can anyone explain how this works in glassfish for me?

-----------------------------------------------------------------------
Joseph B. Ottinger http://enigmastation.com
Editor, http://www.TheServerSide.com joeo@enigmastation.com