Henrik Aronsen [
http://community.jboss.org/people/henrik242] created the discussion
"@LocalBinding not honored in JBoss 4.2.x?"
To view the discussion, visit:
http://community.jboss.org/message/534428#534428
--------------------------------------------------------------
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
[
http://community.jboss.org/message/534428#534428]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]