Monthly Archives: December 2011

Specifying a type for a spring JNDI datasource

My production code deosn’t normally need to get the datasource directly because I choose to inject the template. However, sometimes there is a need to get the datasource. The datasource is usually defined as If you try to inject that … Continue reading

Posted in Java, Spring | Leave a comment

Mac Pipe to rm

Something like this normally works on Linux: Not on Mac. You have to remember to add xargs Without the xargs, it is like calling rm without a target.

Posted in Mac, OS/X | Tagged , , | Leave a comment