users@glassfish.java.net

Re: How to find the JNDI name for a deployed EJB?

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 26 Dec 2008 23:48:46 +0100

try: $ asadmin list-jndi-entries
-Alexis

On Dec 26, 2008, at 23:39, glassfish_at_javadesktop.org wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>