Note to self “you cannot use dependency injection in helper classes”
March 9, 2011 Leave a comment
So after wasting a lot of time fighting against the current, and my desire to use the beautiful and clean dependency injection features in EJB3, I am now using the old messy lookin context lookup for resources in my helper classes.
I saw some post about passing resources, but having issues with threading. Just a note to myself to not try this again.