users@glassfish.java.net

How to find the JNDI name for a deployed EJB?

From: <glassfish_at_javadesktop.org>
Date: Fri, 26 Dec 2008 14:39:32 PST

Hello there !

I believe My Subject is the summary of my question, but to put it more adequately, I will detail my scenario:

I work with NetBeans, and I create an EJB (without a JNDI name); (I believe there's an annotation that allows to specify the JNDI name for deployment (But I'm such a newbie to EJB 3 that I don't really know))

The point is, When I omit the JNDI name for a Bean, NetBeans deploys it with a default name that's actually the fully qualified name of the Bean class. You can see that it gets deployed this way when you look at the GlassFish Log.

So my Real Question is:

[b]How can I use the GlassFish Admin Console to find an EJB that has been deployed in that way ?[/b]

I check the JNDI resources and never have I been able to find it !

I suppose my question is pertinent because I can use JNDI to locate my EJB Object and then call biz methods on the Bean !

So where's the JNDI Registration ?

Thanks in advance,

and Good Luck!

Jose
[Message sent by forum member 'josebce' (josebce)]

http://forums.java.net/jive/thread.jspa?messageID=323366