[jboss-user] [EJB 3.0] - Re: @EJB not working?

anders.hedstrom do-not-reply at jboss.com
Thu Oct 5 10:07:40 EDT 2006


You don't show your code for the User SessionBean, but my guess from reading the code that you've posted is that you have given your User SB another name than the default one - then you need to specify that name in your @EJB annotation.

@EJB(beanName="<your-name-on-your-bean>")
  | User userBean;

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

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



More information about the jboss-user mailing list