Skip to main content

Blog Archive for emcmanus during May 2007

MXBeans map between arbitrary Java types and a fixed set of types in javax.management.openmbean called the Open Types. This allows clients to interact with MXBeans, without needing to know the original Java types (which might require putting extra jars in their classpath and so on). Up until now the mapping rules were fixed. Certain types can not be mapped by...
One question I encounter frequently about the JMX Remote API is how to reduce the time taken to notice that a remote machine is dead when making a connection to it. The default timeout is typically a couple of minutes! Here's one way to do it. Probably the cleanest technique for connection timeouts in general is to set a connection timeout on the socket. The idea is...
The Web Services Connector for JMX Agents being defined by JSR 262 is available in Early Access. I described the background to this JSR in an earlier blog entry. In short, it serves two purposes: Provide an alternative to the RMI connector for JMX-aware clients (such as JConsole). Because the JSR 262 connector uses SOAP over HTTP, it can reuse a web server configuration you have already...