[jboss-user] [JBoss Seam] - Re: Linking Components from different Ears

norman.richards@jboss.com do-not-reply at jboss.com
Wed Dec 27 11:51:01 EST 2006


I think you are asking for trouble going the multi-EAR route, but you can certainly resolve the JNDI issue trivially by giving your EJB3 components specific JNDI names using  org.jboss.annotation.ejb.LocalBinding.


  | @Statefule
  | @LocalBinding(jndiBinding="myApp/FooBean")
  | @Name("foo")
  | public class FooBean ...
  | 

then your jndi pattern would be myApp/#{ejbName}







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

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



More information about the jboss-user mailing list