1 Reply Latest reply on Aug 23, 2004 12:02 PM by Peter Backx

    How to get the JNDI name of an EJB deployed to JBoss?

    Yueming Shi Newbie

      Hi there,
      Is there an API for this in JBoss? I know the JNDIView MBean can be used to browse all the name entried in JNDI, but I want to get a JNDI name for an EJB, is there a function like getJNDIName(ObjectName objname) in some MBean or service, where for example objname="EJBModule=KTJAR.jar,J2EEApplication=null,J2EEServer=Local,j2eeType=StatelessSessionBean,name=HelloWorld"? Or can I easily add a service to achieve this goal?

      Your help is greatly appreciated!