Wednesday Jun 20, 2007

The joys of web 2.0

Here I am at home, seating in my sofa, with my MacBook on my knees, and staring fixedly at my latest blog entry on how to read a jar manifest file programmatically, being displayed on No I'm not joking! The proof is here (second entry under "Blog Posts": on the right side):

[Read More]

A java program that reads the manifest of a jar file

Today, a colleague asked me if I had an example of a Java program that would read the manifest of a jar file. Since I hadn't any, I created one. Here it is. It's very simple, just a few lines of code...

[Read More]

Friday Jun 15, 2007

JMX in Javalobby Newsletter

It's always nice to read praise about a technology you've been working on, but especially so when it comes from some prominent member of the java community.

[Read More]

Friday Jun 01, 2007

Using Mercurial With SSH - hg: not found

Today I have started experimenting using Mercurial (hg) with ssh. Here are the two first pitfalls in which I have fallen.

[Read More]

Tuesday May 29, 2007

Federating MBeanServers with OpenDMK

Project OpenDMK includes a cascading API that makes it possible to federate MBeanServers. When several applications are running in the same JVM, this example shows how the OpenDMK cascading API can be used to keep applications MBeans isolated by using one MBeanServer per application instance, but still presenting a single point of access to remote clients by federating all MBeanServers in a single global MBeanServer.

Federation of MBeanServers is also discussed for JMX 2.0. Although it does share some concepts with the cascading feature of OpenDMK, it will also have some noticeable differences.

[Read More]

Monday May 21, 2007

OpenJDK and NetBeans: A Tutorial to build JConsole and JMX Sources

The OpenJDK and NetBeans IDE WebSite has now a tutorial that shows how to build various part of the JDK, and the JDK itself: in particular, there's a chapter dedicated to building the JMX API sources, and another one dedicated to building the JConsole graphical tool sources.

[Read More]

Tuesday May 15, 2007

We are open sourcing the Java Dynamic Management Kit

You may have seen an OpenDMK project lingering on for a few weeks: Well, I am pleased to announce that we have pushed a first snapshot of the sources just before JavaOne.

[Read More]

Friday May 11, 2007

JMX Interoperation With Non Java Technologies

We have written a white paper about JMX Interoperation With Non Java Technologies. This whitepaper explains how the Web Services Connector for JMX Agents (defined by JSR 262) was successfully used to provide interoperation with non Java technologies and products such as Hewlett Packard's OpenView Operations Agent (HP-OVO), and Microsoft's Windows Remote Management (WinRM).

Update: Jean-Francois has written an article on how to deploy the JMX WS Connector within a J2EE Application server.
[Read More]

Thursday May 10, 2007

OpenJDK is out, with a JMX and JConsole NetBeans project!

As you were already informed by many prominent bloggers from the Java Community, the OpenJDK Project is finally out!

And of course, the JMX technology and JConsole graphical tool are part of it. Cherry on the cake: we are even providing NetBeans IDE `projects' that will let you work easily on JMX and JConsole without having to compile the whole OpenJDK!

[Read More]

Friday May 04, 2007

A small program that prints the attributes of all JVM MBeans

A few weeks ago I blogged about how to programmatically access the JVM Monitoring information. Here is a small Java application that prints all the attributes of all the JVM Management & Monitoring MBeans.

The sample simply prints the attributes of the JVM MBeans from the JVM in which it runs. It would be very easy to make it print the information of a remote JVM. You would just need to copy the code from the JVMRuntimeClient shown in my previous blog: [More]

[Read More]

Friday Apr 20, 2007

How to retrieve JVM information using JRuby

A few weeks ago, I posted a small example showing how to programatically retrieve the JVM Management and Monitoring information. Jeff Mesnil also recently wrote a two parts blog article showing how to write a JMX client using JRuby.

Piecing these two articles together I'm going to show how to prototype this using JRuby in jconsole Script Shell plugin.

[Read More]

Thursday Mar 15, 2007

How Can I Find All Instances Of WombatMBean?

Here is a small example that demonstrates how to retrieve all MBeans which are wombats, including domestic wombats and feral wombats, which are very ferocious.

[Read More]

Friday Mar 09, 2007

How To Retrieve Remote JVM Monitoring And Management Information

How to use JMX to programatically retrieve the information that JConsole displays is easy. Here is a small JMX Client Program that shows how you can programatically retrieve the JVM Management and Monitoring information from a remote JVM.

[Read More]

Monday Mar 05, 2007

Rencontrez James Gosling aux Sun TechDays à Paris! [and it's free...]

Meet James Gosling at Sun Tech Days Paris: vous pourrez aussi rencontrer des membres de l'équipe JMX lors de la session pointue sur JMX ("Java SE Beyond Basics"), Mercredi 21 Mars.

[Read More]

Friday Mar 02, 2007

Brian Goetz: Trust the JVM. It's smarter than you think.

I have just read the new excellent interview of Brian Goetz, Writing Better Code published on

In this interview Brian goes against a few myths about code optimization, and provides some insightful advices for writing faster code. One of its more striking moto is:

    Trust the JVM. It's smarter than you think.
[Read More]

Daniel Fuchs blogs on Scene Builder, JMX, SNMP, Java, etc...

The views expressed on this blog are those of the author and do not necessarily reflect the views of Oracle.


« July 2016