Saturday, 10 May 2008

Tutorial: how to export an MBean in Grails

This is a cookbook tutorial I wrote while working-playing-learning (I guess I'm lucky that I am doing for a living something where these three things often get along) with Grails.
It shows how to export Hibernate's StatisticsService MBean by leveraging Spring's JMX support through Grails's BeanBuilder, a class that uses dynamic Groovy to construct bean definitions.

No comments: