Sorry for the Post abvoe. That was not the full Issue. So you can Ignore it. Try again .
Hi @ All,
I migrate an EJB 2.1 to EJB 3.1. Everything works fine but I have problems with the JNDI (ENC) binding.
I have some EJB-Jars which packaged in a EAR.
In some places in the sourcecode I must make manual lookup for EJBs. So I can do it with the Stirng java:global:/[EARName]/[EJB-JarName]/beanname!FQN IterfaceName.
But I want have my own namespace so that I want know the module name like ctx.lookup(ejb/myBean).
I Can define in jboss.xml
this works fine for stateless beans but doesn't work for singleton beans. But however @LocalBinding(jndiBinding = "ejb/MyEJB") works fine.
But I want do this customation in my jboss.xml. Any idea ???
Is @LocalBinding doesn't support by JBOSS 7.1 ??