The Grails 1.0 open source Web application development framework was announced this week by G2One, which specialises in Groovy and Grails technology, and the Grails development team.
Grails is built on Java and the Groovy language. It leverages APIs from the Java enterprise sphere including Spring, Hibernate, and SiteMesh, G2One and the development team said. With Grails, Java and Ruby developers get convention-based rapid development while leveraging existing knowledge and capitalising on APIs Java developers have used for years.
"What we're trying to achieve is really to fundamentally simplify Java EE [Enterprise Edition] development," said Graeme Rocher, creator of the Grails project and CTO at G2One.
Grails is different from other dynamic language frameworks because it embraces Java and leverages Spring at its core, Rocher said. Spring's role in Grails is akin to being an enterprise application toolkit that features ease of use, he said. Hibernate is used for object-relational mapping in Grails, he said.
The 1.0 version has been in the making for two years and eight months. New features including an ORM DSL (Object Relational Mapping Domain Specific Language) for advanced mappings, support for easy-to-use filters, and content negotiation. REST (Representational State Transfer) also is leveraged, as is JNDI (Java Naming and Directory Interface).
ORM DSL allows Grails to support legacy databases in applications. "Essentially, it's a declarative way to say that this object maps on to these tables," Rocher said.
With JNDI, Grails provides the ability through Spring to look up existing programming objects such as a data source.
Grails 1.0 is downloadable here. The Grails project receives 5,000 to 10,000 downloads per month, Rocher said.
Find your next job with computerworld UK jobs