[jboss-user] [EJB 3.0] - Injected EJB in a web app
earniedyke
do-not-reply at jboss.com
Fri Aug 31 14:29:03 EDT 2007
Greetings all,
I have an EJB3 that is deployed in 4.0.5 from a jar file. In the same 4.0.5 I have a war file with a JSF backing bean that needs a reference to the EJB. I have:
@EJB
| private MyEJB3 myejbe;
|
coded in the backing bean but when the web app executes, myejb3 is always null. Shouldn't I be able to do this?
And the EJB should be the remote interface and NOT the bean itself correct?
Earnie!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080124#4080124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080124
More information about the jboss-user
mailing list