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 .
The @EJB injection into servlets is not support in 4.2.x - you need 5.0.x to get that functionality.
By the way, this should have been posted in the EJB forum because this has nothing to do with JBoss Tools.