[jboss-user] [JBoss Tools (users)] - getting null on statless session injection

Elhanan do-not-reply at jboss.com
Fri Apr 24 07:45:34 EDT 2009


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 .

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

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

More information about the jboss-user mailing list