Tuesday May 29, 2007 ![]() |
JMX, SNMP, Java, etc...Daniel Fuchs blogs on JMX, SNMP, Java, etc... |
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] Tags: cascading java jmx opendmk opensourcePosted by dfuchs ( May 29 2007, 05:48:14 PM CEST ) Permalink Comments [8] |
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] Tags: java jconsole jmx netbeans openjdk opensourcePosted by dfuchs ( May 21 2007, 02:36:57 PM CEST ) Permalink Comments [0] |
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] Tags: cascading java jmx opendmk opensource snmpPosted by dfuchs ( May 15 2007, 01:41:41 PM CEST ) Permalink Comments [2] |
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] Tags: interop java javaone jmx ws wsman Posted by dfuchs ( May 11 2007, 03:30:42 PM CEST ) Permalink Comments [0] |
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] Tags: java jconsole jmx openjdk opensourcePosted by dfuchs ( May 10 2007, 04:01:13 PM CEST ) Permalink Comments [0] |
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] Tags: java jmx jvm monitoringPosted by dfuchs ( May 04 2007, 06:39:28 PM CEST ) Permalink Comments [3] |
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.
Posted by dfuchs ( Apr 20 2007, 05:40:13 PM CEST ) Permalink Comments [0] |
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] Tags: java jmxPosted by dfuchs ( Mar 15 2007, 08:57:11 PM CET ) Permalink Comments [0] |
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] Tags: java jmx jvm management monitoringPosted by dfuchs ( Mar 09 2007, 06:46:43 PM CET ) Permalink Comments [62] |
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] Tags: java jmxPosted by dfuchs ( Mar 05 2007, 03:02:57 PM CET ) Permalink Comments [1] |
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. Posted by dfuchs ( Mar 02 2007, 01:28:32 PM CET ) Permalink Comments [1] |
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] Tags: java jmx jvm monitoring snmpPosted by dfuchs ( Feb 23 2007, 04:50:07 PM CET ) Permalink Comments [7] |
Q: When is a Standard MBean not a Standard MBean?
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] Tags: java jmx management mbeanPosted by dfuchs ( Jan 09 2007, 06:14:11 PM CET ) Permalink Comments [6] |
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] Tags: java jmx management mbeanPosted by dfuchs ( Nov 22 2006, 09:01:43 PM CET ) Permalink Comments [3] |
The Trail: Java Management Extensions (JMX) will walk you through the basics and also show you Where To Go From There. [Read More] Tags: java jmxPosted by dfuchs ( Nov 15 2006, 08:30:05 PM CET ) Permalink Comments [0] |