This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Small Tutorial using Spring and JMX

Dec 15th, 2005, 04:05 PM

Hi all,

I wrote a small tutorial for using Spring and JMX. I have implemented a BeanInfoAssembler that reads the MBean configuration from an XML-file.
It uses MX4J as JMX-Implementation.
Please try it and post your comments here.

Interesting - you can also post this tutorial on the Spring WIKI and over at the Spring hub. Moreover if you want to, you can add this to the JMX configuration. Take a look at the official sample and try to adjust your sample on it - after you are done raise an issue or send an email (to Rob mainly).

Comment

the modelerType could not switched of. I don´t like this too.
I looked the code of BaseModelMBean, the modelerType would only return the classname of the managedResource, in the sample-app "test.objects.Car" would be the modelerType.

I will add a note on this in the document that comes out with the next part of my sample-app where I will shortly explain how easy it is to add Notification-Support with commons-modeler.

Thanks for your comments.

Jörg Bellmann

PS: my girlfriend is not at home this week, so it can be that the next part come out this week :-)

the modelerType could not switched of. I don´t like this too.
I looked the code of BaseModelMBean, the modelerType would only return the classname of the managedResource, in the sample-app "test.objects.Car" would be the modelerType.

I will add a note on this in the document that comes out with the next part of my sample-app where I will shortly explain how easy it is to add Notification-Support with commons-modeler.

Thanks for your comments.

Jörg Bellmann

PS: my girlfriend is not at home this week, so it can be that the next part come out this week :-)