[jboss-user] [EJB 3.0] - Re: Problem with EJB call EJB

jaikiran do-not-reply at jboss.com
Sat Apr 26 09:13:37 EDT 2008


Are you sure there were no errors during deployment?

anonymous wrote : @EJB(beanName = "org.jboss.ws.hello.HelloBean") 
  | 	private HelloBean h;

This should have been:


@EJB(beanName = "HelloBean") 
  | 	private HelloBean h;

or even this should work:

       @EJB
  | 	private HelloBean h;

And by the way, you don't need the ejb-jar.xml for any of this.


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

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



More information about the jboss-user mailing list