Tuesday May 15, 2007

We are open sourcing the Java Dynamic Management Kit

You may have seen an OpenDMK project lingering on java.net 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 java.sun.com.

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]

Friday Feb 23, 2007

JVM Monitoring: JMX or SNMP?

Since JavaTM SE 5.0, the JRE provides a means to manage and monitor the Java Virtual Machine. It comes in two flavors: one is based on the Java Management Extension (JMXTM), the other is a small SNMP agent that builds upon the Management and Monitoring API of the Java SE platform and exposes the same information through SNMP.

A legitimate question that often arises to newcomers to the JMX and SNMP technologies is:

Which technology should I use to monitor my JVM? JMX, or SNMP?

In this blog I will try to provide some guidance on this subject.

[Read More]

Thursday Jan 11, 2007

Happy Birthday!

When I created this blog, just one year ago, I was a bit reluctant.
I was afraid that I would rapidly fall short of ideas for articles: instead they keep on piling up... Some of the articles I've been wishing to write may even become obsolete before I find the time to write them ;-).
But most of all, I had absolutely no idea of how much I would enjoy blogging.

[Read More]

Tuesday Jan 09, 2007

javax.management.StandardMBean: When and Why.

Q: When is a Standard MBean not a Standard MBean?
A: When it's a StandardMBean.

In this article I will give a few tips concerning the StandardMBean class, and in particular, when and why it becomes interesting to use it.

[Read More]

Monday Dec 11, 2006

Welcome to the SNMP Table!

... or the Hitchhiker's Guide to SNMP Part IV. In this article, I will try to provide a brief overview of multi-indexed SNMP tables.

This article comes as a follow-up on a series of articles I have written about SNMP. The series starts with [Simple Is Not Easy] and [What is the JVM SNMP Agent?] and continues with [The Hitchhiker's Guide to SNMP - part I], [II], and [III]. Readers who are not familiar with SNMP are invited to browse these articles first.

In Understanding The Structure Of Management Information (SMI), I have already explained how SNMP tables are defined in SMI and introduced the concepts of Scalar Objects and Columnar Objects, Conceptual Rows and Indexes. I have also shown in an example based on the JVM-MANAGEMENT-MIB how to get a columnar object on a simple SNMP table indexed by a single integer.

In this article, I want to explain how all of this works with multi-indexed tables.

[Read More]

Wednesday Nov 22, 2006

DynamicMBeans, ModelMBeans, and Pojos...

The JMX forum on SDN is a lively place. Recently, Athahar was trying to expose a POJO resource through JMX - and quite naturally, decided to try out doing this with a ModelMBean. However, ModelMBeans are not the only way to this - and here are a few thoughts, which borrow heavily on some of Eamonn's most recent blog entries.

[Read More]

Wednesday Nov 15, 2006

The new JMX Tutorial trail for JDK 6 has been released!

The Trail: Java Management Extensions (JMX) will walk you through the basics and also show you Where To Go From There.

[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.


« September 2016