Hi 

I am tryingo to test the EJB3 session bean injection in a JSF managed Bean

I hav modified my web.xml to include this 


  | <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"; 
  |                        
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";      
  |                        
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
  |                        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
  | 

My ejb jar is correct and deployed; in the managed bean i have this:

@Resource
UserServiceLocal userService;

but when i try to call any method in the userService, it gives me a null 
pointer exception 

What can i be missing ??

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051839
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to