Managing GlassFish using jRuby, via JMX

Clip of some jRuby code

Ivan describes a very nice use of jRuby for GlassFish domain configuration where JMX (specifically through AMX) provides a very convenient interface for remote interaction.

Ivan uses the (Application Management Extensions) APIs. Overall, his experience seems quite positive; check out his Blog entry, and the jRuby script. Ivan does request for improved documentation, although the availability of an interpreter loop (jirb) helps.

Nice to see this resurgence of the use of flexible "soft" pieces (programmed via an scripting languages) combined with more stable "hard" components (written in a language like Java). See for example Roberto's recent presentation on the topic.


Post a Comment:
Comments are closed for this entry.