8 Replies Latest reply on Feb 1, 2010 9:52 AM by David Balažic

    How to set JNDI path name?

    David Balažic Newbie

      Hi!

       

      I have a project where EJBs are deployed and now I wish to change the name used to look up the beans from:

      context.lookup("foo/SomeThing/remote");

      to

      context.lookup("bar/SomeThing/remote");

       

      Where is this defined?

       

      The project is deployed from Eclipse as an "Enterprise Application Project" and the projects name is used in Global JNDI Namespace (as also reported by JMX MBean list())

       

      Regards,

      David, using:

      - Eclipse Java EE 3.5.1 (galileo SR1)

      - JBoss Tools

      - JBoss 4.2.3GA