[jboss-user] [EJB 3.0 Users] - Re: Session Bean with Multiple Interfaces and @LocalBinding

jaikiran do-not-reply at jboss.com
Sun Sep 27 06:48:23 EDT 2009


The @LocalBinding annotation is for the default business interface proxy of the bean (which will implement all the local business interfaces). If you want to lookup interface specific proxy, we already bind those to the JNDI with the following syntax:

BeanName/local-InterfaceFullyQualifiedName 

Example:

UserServiceBean/local-xxx.yyy.UserAdminLocal
UserServiceBean/local-xxx.yyy.UserServiceLocal
  | 

You will be able to see these JNDI names on the console.


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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257207



More information about the jboss-user mailing list