Friday Sep 12, 2008

The 5 Best Things About Griffon

I created the whole NetBeans API Javadoc viewer described in Flying with Griffon in NetBeans IDE 6.5 (Dev), using my tweaked Grails modules. The Swing application and applet are created via the same "griffon run-app" process, with this result:

However, the application (i.e., Swing application, applet, and JNLP) could have been created without NetBeans IDE, of course. Simply follow the steps described there from a command prompt, with a text pad, and you'll end up with the same result. The NetBeans IDE modules do nothing magical for Griffon (same with Grails), other than provide a GUI which replaces the command prompt.

And here's what I like best about Griffon so far:

  1. I can use Groovy.
  2. I can reuse everything I learned from Grails.
  3. I am almost forced to think in an MVC-way about my Swing application.
  4. At the end, for no extra effort whatsoever, I not only have a Swing application, but also an applet and a JNLP application.
  5. Griffon is under active development by people who know what they're doing, having learned from the successes and mistakes of Swing, in a modern context, so I'm expecting the best of all worlds within a single framework.


Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« September 2008 »