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.


A service to test your application with various HTTP codes

This is a service to get HTTP codes for testing how your. stuff handles various HTTP codes.

The service is real simple to use; add a call like:

to see how your app handles a 404

There is a good list of codes here too