Big applications have a tendency to accumulate enormous
classpaths. Looking at such a classpath, you might be hard put
to know whether any given jar is really needed. Perhaps it was
needed at the time it was added, but that need has long since
VisualVM is a new graphical troubleshooting tool that is being developed in a project on java.net.
draft of JSR 255 is out! This defines version 2.0 of
the JMX API. We're planning to integrate it into the Java SE 7
platform, subject to the approval of the Expert Group for that
The number one question I get about the JMX API at conferences
and other public events is whether there will be support for
defining MBeans using annotations.
Best Practices guide says notifications can sometimes be lost.
Why is that? When might it happen? Read on.
I was using this Java idiom today, not for the first time, and thought I'd blog it for people not aware of it. You probably know that if you compare two objects x and y using
x.equals(y), the result will be false if they are distinct arrays, even if their contents are the same. There is an easy way to get the right result for arrays. It is