Hi !

By default, JBoss places EJBs in JNDI according to this naming rules:
-"EARName/BeanName/remote" for remote interfaces
-"EARName/BeanName/local" for remote interfaces.
If the EJB jar is not part of an EAR file, then "EARName" is not present. 
So, the lookup for "userProfileBean/remote" will find an interface annotated 
with "@Remote", while "userProfileBean/local" will find an interface annotated 
with "@Local".

Hope this clears things

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104079#4104079

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104079
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to