Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Grails 1.0 Web framework ready

Grails platform leverages Groovy, Java, Spring for Web app development


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, creater 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.

Paul Krill is editor at large at InfoWorld.

Talkback:

commentPost a Comment

 

MOST COMMENTS

 
 





Virtualization: A Step by Step Approach to Success
Your virtual machines can be up and running in a matter of minutes. HP and Citrix have integrated XenServer with HP ProLiant servers and management tools, powered by hardware-assisted Intel Virtualization Technology to enable high- performance, cost-savings solutions for server consolidation and disaster recovery. Sponsor: HP

»  Click here to view this Webcast
  The Data Protection You've Been Looking For
Enterprise data is of supreme importance. If you can't find it quickly, it's worthless. If you lose it, it's a crisis. This IT Strategy Guide explores how to keep your data safe.

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 
  • Virtually Limitless Virtual Storage - Do you need virtualization space savings of 50% or more with virtually no performance impact? You might be able to get storage...
  • Invisible IT? - The goal of IT is to become an invisible entity within a larger organization. Eliminating visibility and road blocks IT ...
  • It Really Is Easy to be Green - "Green IT" is a popular concept. And IT organizations are learning the influence that IT purchase decisions have on data...
  • Key Strategies For SOA Testing - SOA requires a unique approach to testing. Unless you're willing to reorient your testing procedures and technology now,...
  • The Missing Piece of Virtualization - Server virtualization saves money and increases flexibility. But, challenges exist as I/O-intensive applications like databases...
  • Prevent Your Next Microsoft Exchange Outage - E-mail is mission critical, so why only back up data and not the entire e-mail infrastructure? Continuous application protection...

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
 

Video

 
 
 

Podcasts

 
 
 

 

Columnists

 
 
 

Resource Center


Ads by techwords beta  [See your link here]
 




Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist