emcmanus's blog
Archaeology: Digging up JDistill
JDistill, a program to shrink Java packages
Using the builder pattern with subclasses
Josh Bloch's Effective Java popularized the Builder Pattern as a more palatable way of constructing objects than constructors or factory methods when there are potentially many constructor parameters.
Using JavaScript to make Apache Ant less painful
I feel a bit guilty saying bad things about Apache Ant. It's free, it's available everywhere, and a lot of volunteers have put a lot of work into making it what it is. You can very quickly and easily make a build file for simple Java projects. But.
JSR 255 (JMX API 2.0) is postponed
Here is the text of the message I recently sent to the JSR 255 Expert Group, in my capacity as Specification Lead.
Dear experts,
Client context in the new JMX API
I've mentioned in the past that one of the new features in version 2.0 of the JMX API is "client contexts", which will allow a client to communicate context information to a server, and a server to adjust its behaviour accordingly.
Applying MXBean mappings to your own types
The MXBean framework gives you a way to define MBeans with custom types, and map those types to standard ("open") types so generic clients can deal with them.
Getting rid of that pesky MalformedObjectNameException
You can't construct a JMX ObjectName without handling MalformedObjectNameException, which is a checked exception. Here's why that is a pain, how to relieve that pain, and what we're doing to make it less painful in the next version.
Web Services Connector: update of Early Access
We have released a new snapshot of the Web Services Connector being defined by JSR 262. Jean-François Denise has the details on his blog.
JMX Namespaces now available in JDK 7
The JMX Namespace feature has now been integrated into the JDK 7 platform.





