I wanted to describe an interesting problem I recently faced that involved the most excellent JAX-RS specification and its Jersey implementation. The quick overview is that we wanted the output of our JAX-RS resource classes to be client-agnostic, but we also wanted the ability to insert a decorator of sorts in between the objects we were returning and the normal JAX-RS serialization/...
on Apr 28, 2010
Here's a fun hack.
I (like everyone else in the world) have a collection of utilities I take
with me from job to job. It's served me well for several years now. These
utilities are simple, domain-independent things: classes to copy files, find out
what jar file a class is loading from, that sort of thing.
Many of the classes in this utility collection jar have main()
methods, and could...
on Sep 20, 2004