8 messages in org.codehaus.groovy.userRe: [groovy-user] HQ gets more game b...
FromSent OnAttachments
Jon TravisMar 25, 2008 9:39 am 
Keith ThomasMar 25, 2008 9:44 am 
Guillaume LaforgeMar 25, 2008 9:49 am 
Jon TravisMar 25, 2008 10:33 am 
jbi joeMar 6, 2009 4:12 am 
Guillaume LaforgeMar 6, 2009 5:38 am 
Peter BellMar 6, 2009 6:50 am 
Jason SmithMar 6, 2009 7:19 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [groovy-user] HQ gets more game by being Groovy!Actions...
From:Keith Thomas (keit@gmail.com)
Date:Mar 25, 2008 9:44:44 am
List:org.codehaus.groovy.user

Thanks Jon, great information. Are you able to share the thought process behind writing your own plug-in framework rather than using Grails plug-in framework?

On Tue, Mar 25, 2008 at 9:40 AM, Jon Travis <jtra@p00p.org> wrote:

Ahoy, Groovy cats!

I wanted to drop a note, thanking the community and the Groovy developers for creating such a solid, important piece of software. It's enabled us to be very agile, adding new pluggable features to our Java app in minutes. I hope this letter inspires other Java based projects to consider adding Groovy to their arsenal.

We are using Groovy for a variety of things: - Creating pluggable UI screens and features - Providing web-services APIs - Templating emails sent in Alerts - Increasing visibility to diagnose issues in a running server - Giving admins the ability to script and automate HQ in an easy and obvious way

Our software (Hyperic HQ) is a very large project, able to monitor any software / hardware via a generic plugin infrastructure. This generic nature also means that our UI does not have specific screens for specific products. We've created a plugin framework (HQU) based on Groovy, which allows plugins to display entirely new screens, embedded within our application.. This means that we can now provide extremely deep, detailed information about MySQL, Apache, Cisco IOS, etc. in screens tailored exactly for that product. HQU provides a Rails/Grails style interaction between the HQ server and the plugins, providing maximum power, with minimum code.

We've used HQU to create our Alert Center, Event Center, Groovy Console, Nagios screens, and tonnes more. The code-rev time of working on a Groovy-based feature is a fraction of the time compared to compiling and redeploying Java changes. Time from change to reload is < 15 seconds.

On the web-services side, Groovy's XML integration is so seamless and easy, we are able to create interactions with JIRA or other RSS / XML based services in only a few lines. This productivity would not have been possible without the benefit of Groovy.

HQU also provides an API on top of our Java API which makes accessing our internal APIs more paletable. Since HQ was originally built on session beans, the API is generally not as object-oriented as we'd like and the APIs suffer from corosion. By using Categories and MetaClasses, we can give developers an obvious, intuitive toolkit.

Finally, we've added a Groovy Console to our administration section. This has proven to be invaluable when developing a feature (who needs to recompile to test HQL queries?), debugging a running instance, or performing advanced, scripted functions.

I'll be giving a HyperCAST on Wednesday (will be archived), discussing how Groovy fits into our development cycle.

HyperCAST information here: http://www.hyperic.com/demo/hypercasts.html

HQU Plugins can also be viewed here: - hquplugins.org (development information) - http://support.hyperic.com/confluence/display/hypcomm/HQU+Forge (plugins)

-- Jon Travis Principal Engineer, Hyperic Inc.

--------------------------------------------------------------------- To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email