hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Jakarta HiveMind Wiki] Updated: JmxPreview
Date Fri, 03 Dec 2004 15:11:32 GMT
   Date: 2004-12-03T07:11:31
   Editor: AchimHuegen <>
   Wiki: Jakarta HiveMind Wiki
   Page: JmxPreview

   no comment

Change Log:

@@ -28,6 +28,8 @@
 You can find the tabular data (e.g. properties values) by double clicking the bold attribute
 A mbean that uses both constructor parameters and properties can be found as
+The metadata functionality is 'experimental'.
 == Export services as MBeans ==
 Services can be registered as MBean very easily by a contribution to "mbeans":
@@ -40,16 +42,44 @@
 Now the complete service interface is available via jmx.
 (There are some datatype constraints and the servicemodel should be primitive or singleton)
-Have a look at the test.hivemind.Calculator MBean. You can do some calculations on the jconsole
operations tab.
+Have a look at the Calculator MBean (test\management\service\Calculator). You can do some
calculations on the jconsole operations tab.
 Double click on the 'sum' attribute to get a graph of the sum over time.
 This is the corresponding service interface :
 == Performance interceptor ==
+The interceptor PerformanceMonitor collects statistical data about calls to the intercepted
+The results are sent to a newly created mbean. For each service method it displays: number
of calls,
+maximum, minimum, average and last execution duration.
+The mbean (test\management\service\Calculator\PerformanceMonitor) displays these values for
the Calculator service.
+So just execute some calculations and watch the statistical data changing. 
+Double clicking the attribute values displays a graph.
 == Monitor ==
+Though creation of jmx monitors is not automated it is quite easy by defining a service point.
+Such a monitor can watch the attribute of another mbean (for example the average execution
time of a service method) and 
+send notifications, if a treshold is crossed.
+The mbean (test\management\service\????) monitors the sum attribute of the calculator service.
+= Implementation details =
+== Dependencies ==
+The implementation uses JMX 1.2 and supports JSR 160 for remote management (via jconsole,
mc4j etc.)
+It is depending on MX4J but is working fine with Sun RI too.
+The dependency could be broken up, but there is no standardized way for creating an HTMLAdapter.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message