There are tons of books and articles about how to design and write good Java code, but surprisingly little about the specific topic of API design. On my artima.com blog I wrote a summary of what I've learnt on the subject from various sources and my own experience. This has been the single most comment-provoking blog entry I've ever written, which is either because it's a subject that people...
How would you go about using the JMX API to instrument AWT events? What would it gain you? My colleague Jean-François Denise answers in detail in his blog.
I like this example and have used it as a demo in a number of places, including the recent
JavaPolis conference and this year's JavaOne. (If you were at my JavaOne talk, Jean-François was the mysterious figure driving the demo.) The...