Note to self “you cannot use dependency injection in helper classes”

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.

Advertisements

About Jayson
Father, mountain biker, Software development manager at a wire service, and also work with the IPTC (iptc.org)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: