"bdecoste" wrote : If you want to explicitly specify the jndi binding, use the RemoteBinding and the LocalBinding annotations. The name attribute of Stateless sets the EJB name for the bean. Without A RemoteBinding or LocalBinding annotation, the default binding is earName/ejbName. | | The EJB annotations are in the spec. The JBoss specific annotations like RemoteBinding are not.
I think there should be a JNDI attribute for the EJB3 beans that is generic. Glassfish apparently (after looking at their JavaDoc) uses a mappedName attribute in their Stateless annotation. Already we have a discreptancy across J2EE EJB3 implementations. I think JNDI binding is so fundamental to a J2EE bean writer it should be standardized across app server implementations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935241#3935241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935241 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
