Go To Homepage



Book Details
The Definitive Guide to Grails, Second Edition book cover
  • By: Graeme Rocher , Jeff Brown
  • ISBN10: 1-59059-995-0
  • ISBN13: 978-1-59059-995-2
  • 600 pp.
  • Will Publish Jan 2009
  • Price: $46.99
  • eBook Price: $32.89
  • 10 chapters available
  • Alpha Book Price: $32.89


Book Extras


The Definitive Guide to Grails, Second Edition

This book is part of the Alpha Program. There are currently 10 chapters available to purchase.

The rise of Ruby on Rails has signified a huge shift in how we build web applications today; it is a fantastic framework with a growing community. There is, however, space for another such framework that integrates seamlessly with Java. Thousands of companies have invested in Java, and these same companies are losing out on the benefits of a Rails–like framework. Enter Grails.

Grails is not just a Rails clone, it aims to provide a Rails–like environment that is more familiar to Java developers and that employs idioms that Java developers are comfortable using, making the adjustment in mentality to a dynamic framework less of a jump. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in the Java community feel right at home.

Grails’ foundation is on solid open source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles flexible layout control and page decoration.

Grails complements these with additional features that take advantage of the coding–by–convention paradigm such as dynamic tag libraries, Grails object relational mapping, Groovy Server Pages, and scaffolding.

Graeme Rocher, Grails lead and founder, and Jeff Brown bring you completely up–to–date with their authoritative and fully comprehensive guide to the Grails framework. You’ll get to know all the core features, services, and Grails extensions via plug–ins, and understand the roles that Groovy and Grails are playing in the changing Web.

What you’ll learn

  • Discover how the Web is changing and the role the Groovy language and its Rails framework plays.
  • Get to know the Grails Project and its domains, services, filters, controllers, views, testing, and plug–ins.
  • Experience the availability of plug–ins for Rich Client and Ajax, web services, performance/utilities, scheduling, security, functionality, and even Persistence.
  • See how Grails works with other frameworks like Spring, Wicket, Hibernate, and more.
  • Create custom plug–ins in Grails.

Who is this book for?

This book is for everyone who is looking for a more agile approach to web development with a dynamic scripting language such as Groovy. This includes a large number of Java developers who have been enticed by the productivity gains seen with frameworks such as Ruby on Rails, JRuby on Rails, etc. The Web and its environment is a perfect fit for easily adaptable and concise languages such as Groovy and Ruby, and there is huge interest from the developer community in general to embrace these languages.


Share & Bookmark

Share on Linkedin Bookmark on Google Share on Facebook Share this title with Del.icio.us Share this title with Digg Share this title with Technorati Share this title with Blinklist Share this title with Furl Share this title with Reddit Share this title with myspace Share this title with newsvine Share this title with stumbleupon Share this title with twitter

Related Titles



Author Information

Graeme Rocher

Graeme Rocher is a software architect and Chief Technology Officer at SkillsMatter. He started his career in the e-learning sector as part of a team developing scalable enterprise learning management systems based on J2EE technology. He later branched into the digital TV arena where he was faced with increasingly complex requirements that required an agile approach as the ever-changing and young iDTV platforms evolved. This is where Graeme was first exposed to Groovy and he began combining Groovy with Cocoon to deliver dynamic multi-channel content management systems targeted at digital TV platforms.

Benefiting from this taster of what Groovy had to offer, Graeme utilized his skills in his next role at a company called KnowledgePool to produce a rapid e-learning development toolkit, called Originate, that incorporated Groovy as the glue language to bring together a diverse range of technologies required to make the product work (from VB and Microsoft Word to XSLT, the JavaScriptTM language, and XSL-FO). Soon 80% of all e-Learnig work produced by KnowledgePool was using the Groovy-based technology to deliver bespoke e-learning projects.

Seeing an increasing trend for web delivery of services and the complexity this brought, Graeme embarked on another project to simplify this and founded Grails, a framework with the essence of Ruby on Rails, but targeted at tight Java integration. Graeme is the current project lead of Grails and is a member of the Groovy JSR-241 executive committee.

In his current role as CTO at SkillsMatter, a company specializing in Open Source training, Graeme is in charge of the companies courseware development strategy and general technical direction. As part of this role he actively works with a wide range of professionals from the Open Source community and speaks at industry conferences whenever possible on subjects related to Groovy, Grails and dynamic languages in Java.

Jeff Brown

Jeff Brown (http://javajeff.blogspot.com/), long–term Grails committer and active community member, works for G2One Inc. (http://www.g2one.com)—the Groovy/Grails company—as director of North American operations.