1 Reply Latest reply on Apr 24, 2009 9:11 AM by peterj

    getting null on statless session injection

    elhanan

      hi..

      this is silly problem, i have jboss 4.2.2 and jboss tools 3.0

      i created a statless session with just local Interface, the bean is marked as @Statless and the interface is marked as @Local

      created a servlet, inside a private variable with an EJB annotation. i do System.out.println on the variable in the doGet method, but i get null.

      it's like the whole injection thing doesn't work .