3 Replies Latest reply on Jun 6, 2007 3:18 PM by Jose Miguel Loor

    JSF 1.2 EJB3 injection

    Jose Miguel Loor Apprentice


      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"

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

      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 ??