1 Reply Latest reply on Jul 6, 2004 11:52 AM by Darran Lofthouse

    jndi name

    Jinpeng Xie Newbie

      I want to use "java:comp/env/ejb/MyEJBJNDI" to look up a remote home object. My jboss.xml is as

      <?xml version='1.0' ?>

      <enterprise-beans>

      <ejb-name>MyEJB</ejb-name>
      <jndi-name>java:comp/env/ejb/MyEJBJNDI</jndi-name>

      </enterprise-beans>

      After I start up JBoss and look at JNDI tree view, I find MyEJB bean is bound to java%3acomp/env/ejb/MyEJBJNDI in JBoss 3.0.4.

      Please advise me how to use "java:comp/env/ejb" as a prefix.

      Jim