I have been giving a talk in various places on how to take
advantage of the new features in JDK 5.0 with a small cache
example written for 1.4.2. As I have submitted this as a
talk for JavaOne, I don't want to release the slides yet.
However, here are the resources linked in the presentation: