Computerworld
Grails 1.0 Web framework ready
Grails platform leverages Groovy, Java, Spring for Web app development
Paul Krill (InfoWorld)  06 February, 2008 08:51

The Grails 1.0 open source Web application development framework was announced this week by G2One, which specializes 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 capitalizing 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.

Used mainly for Web applications and available previously in point releases, Grails also can be used for desktop applications and Web tiers. AJAX (Asynchronous JavaScript and XML) support is built in through a prototype library, Rocher said. Plug-ins enable Grails to work with technologies such as Adobe Flex, Google Web Toolkit, and the Yahoo UI library.

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.

Filters apply cross-cutting behaviors to Web applications to apply capabilities such as security, tracing, and logging. With REST support, Grails allows for existing Web objects to be converted to XML or JSON (JavaScript Object Notation), with tasks being automated.

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.

Computerworld Buyer's Guide - Vendors Matched to this Article
More about INS, Yahoo, Creator, Adobe, Google

Comments

Post new comment

Login or register to link comments to your user profile, or you may also post a comment without being logged in.
The content of this field is kept private and will not be shown publicly.
Enter the fully qualified URL, eg. http://www.example.com/
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Add to Google
Computerworld Buyer's Guide - Vendors Matched to this Article
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.
Newsletter Subscription
Newsletter Subscription
Sign up for our Computerworld newsletters!
Syndicate content
 

Computerworld Webinar

Thursday, June 11th, 2009
10:30am EST (Sydney, Australia)
Screening at your PC

Computerworld is hosting a 30 minute live webinar to help you to learn how unified communications can save you money, foster innovation and business agility by making it easier for people to find, reach and collaborate with one another.

Register Now

Computerworld Community Comments
Whitepaper

Keeping your SQL Server Going 24x7

The SQL Server is the vital link between corporate data and enterprise applications. With compliance and regulatory implications, as well as business disruption, keeping data up-to-date and flowing 24x7 has to be the goal. Keep your SQL server going - read more now.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links
 
Send Us E-mail | Privacy Policy
Features List | Media Kit | Advertising | Contact Us

Copyright 2009 IDG Communications. ABN 14 001 592 650. All rights reserved.
Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited.