Grooving on the JVM

Griffon 2.1.0 has landed

JAXenter Editorial Team

© Griffon

Groovy-ing it up since 2008, Griffon has released a number of changes to its Grails-inspired platform for JVM applications.

The Groovy-based framework Griffon has released its latest version, 2.1.0. The framework makes it possible to develop desktop applications for the JVM using a convention-over-configuration approach.

Griffon offers a build-system similar to Grails while also providing direct support for the MVC pattern. Swing can be used as a standard UI toolkit, but Griffon also allows for other toolkits like JavaFX to be used.

To quote Andres Almiray, the maker of the framework:

Griffon is an application framework that follows the spirit of Grails to bring back the fun to desktop development.

What’s new in Griffon 2.1.0?

To simplify use of the MVC pattern, MVC group management has been modified to make it function more intuitively. Actions can now be updated using the ActionHandler interface, which generally provides a “better abstraction for configuring, handling and updating actions and their properties.” In addition, GriffonAddons now have the capability of supplying startup groups. Check out the release notes for more.

In case you missed it, the version 2.0 release in June brought a number of significant changes to how Griffon works:

  • The Griffon line command is no more. Gradle or Maven can be used instead and each Griffon project is a valid Gradle project.
  • Lazybones is required to create a project, instead of archetypes.
  • Plugins are regular JAR files.
  • The new JDK baseline is JDK7
  • Groovy is no longer the default language of choice. Groovy support is now based out of a plugin, allowing for a smaller deployment size in Java-only applications.

If you want to get started on Griffon, check out the tutorial by Griffon creator Andres Almiray from the JAX Magazine.

Inline Feedbacks
View all comments