[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 5.0.0CR1: EJB refs across EARs don't work
jaikiran
do-not-reply at jboss.com
Tue Jul 8 03:17:39 EDT 2008
anonymous wrote : @Stateless(mappedName="mapped/hska/Kundenverwaltung")
| public class KundenverwaltungBean implements Kundenverwaltung
Instead of mappedName, use @RemoteBinding for specifying JNDI name for the remote interface of the bean and @LocalBinding for the local interface:
import org.jboss.ejb3.annotation.LocalBinding;
| import org.jboss.ejb3.annotation.RemoteBinding;
|
| @Stateless
| @RemoteBinding (jndiBinding = "mapped/hska/Kundenverwaltung")
| public class KundenverwaltungBean implements Kundenverwaltung
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163000#4163000
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163000
More information about the jboss-user
mailing list