Community

@LocalBinding not honored in JBoss 4.2.x?

created by Henrik Aronsen in EJB 3.0 - View the full discussion

Hi. 

 

I am migrating EJB3's from JBoss 4.0.4 to 4.2.3, but I cannot get jndiBinding in @LocalBinding to work properly.  This works as it should in 4.0.4 and 5.1:

 


import org.jboss.ejb3.annotation.LocalBinding; // for JBoss 4.2.x and 5.x//import org.jboss.annotation.ejb.LocalBinding; // for JBoss 4.0.x
@Stateless
@Local(BillingFacade.class)
@LocalBinding(jndiBinding = "my/BillingFacade/local") 
public class BillingFacadeBean implements BillingFacade { 

 

In 4.2.3, on the other hand, the first element is replaced with the name of the containing EAR :

 

 


2010-03-29 13:39:32,917 DEBUG [org.jboss.ejb3.stateless.BaseStatelessProxyFactory] Binding proxy for BillingFacadeBean in JNDI at app-ear/BillingFacade/local

 

 

Why does this happen?

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community