f 612-605-1978

Groovy & Grails Programming

The Groovy/Grails software stack has turned into a vibrant and efficient programming paradigm for enterprise Java. Kettle River has been fully supporting Groovy and Grails development since their respective releases. It makes for great, boring software. Here is some information on Groovy and Grails:

Groovy Language
License: Apache 2.0

Groovy is a dynamic scripting language that runs on the Java platform. In fact, to the JVM, Groovy looks just like Java, which means it can take advantage of Java libraries natively. Groovy also offers many features not directly available in Java. Java developers love Groovy because they can code faster and still make industrial strength applications. Groovy can be also called “Java with defaults” since it handles a number of Java conventions automatically, simplifying development.

Advantages of Groovy

  • has additional features inspired by languages like Python, Ruby and Smalltalk
  • almost no learning curve to Java developers
  • supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain
  • makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications
  • simplifies testing by supporting unit testing seamlessly
  • integrates with all existing Java objects and libraries and compiles straight to Java bytecode

Grails Framework
License: Apache 2.0

Grails is a web development framework written in Groovy that takes advantage of familiar Java technologies like Spring and Hibernate. It is a stand alone development environment that hides much of the complexities of configuration from the developer. This contributes to an efficient and agile framework that dramatically increases developer productivity.

Grails makes it easy to seamlessly integrate into existing Java enterprise applications, extending them easily without losing the benefits of the existing platform investment.

Advantages of Grails

  • allows developers to focus on business logic, taking care of everything under the hood
  • uses established Java technologies like Spring, Hibernate and Sitemesh
  • standard project layout all Grails applications have the same structure
  • can accommodate existing data models through custom Hibernate mapping
  • highly extensible through plugin architecture