4 Replies Latest reply on Nov 20, 2009 8:20 AM by jaikiran pai

    How to change JNDI context name binded for EAR application i

    Zemian Deng Newbie

      Hi there,

      When I deploy an EAR application (eg: my-ear-app.ear) in JBoss4.2, by default it automatically creates a JNDI context name "my-ear-app" in Global Namespace, and binds all the EJB under it. For example:

      Global JNDI Namespace
       +- my-ear-app (class: org.jnp.interfaces.NamingContext)
       | +- OrderProcessorImpl (class: org.jnp.interfaces.NamingContext)
       | | +- local (proxy: $Proxy65 implements interface deng.myearapp.OrderProcessor,interface org.jboss.ejb3.JBossProxy)
      


      My question is, does JBoss4.2 allows me to change this "my-ear-app" name to something else without renaming my EAR filename? Is there a jboss config settings I can use?

      Much thanks,
      -Z