Hello

I have read that one can use the @EJB annotation inside a JSF managed bean to 
inject a reference to an EJB 3.0 session EJB, but when I try it my Local 
Interface is null.



  | public class UserManagedBean {
  |     
  |     @EJB
  |     UserManagerLocal userManagerLocal;
  | 
  | ...
  | 

It's OK when I lookup() in this JSF Managed Bean but with @EJB annotation, 
userManagerLocal is NULL.

No error or warning in deployment.


> Any ideas? Setter is necessary ?


Thanks in advance

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to