Skip to main content
  • Book
  • © 2009

The Definitive Guide to Grails

Apress
  • This will be the first and only definitive book on the agile open source lightweight Grails (“Groovy on Rails” analogous to Ruby on Rails) Framework 1.0 release
  • Written by the open source Grails project founder and lead, Graeme Rocher
  • Emerging growth area with support from key open source lightweight projects like Spring, Hibernate, Wicket and more

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 46.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (17 chapters)

  1. Front Matter

    Pages i-xxviii
  2. The Essence of Grails

    • Graeme Rocher, Jeff Brown
    Pages 1-15
  3. Getting Started with Grails

    • Graeme Rocher, Jeff Brown
    Pages 17-43
  4. Understanding Domain Classes

    • Graeme Rocher, Jeff Brown
    Pages 45-63
  5. Understanding Controllers

    • Graeme Rocher, Jeff Brown
    Pages 65-106
  6. Understanding Views

    • Graeme Rocher, Jeff Brown
    Pages 107-141
  7. Mapping URLs

    • Graeme Rocher, Jeff Brown
    Pages 143-158
  8. Internationalization

    • Graeme Rocher, Jeff Brown
    Pages 159-170
  9. Ajax

    • Graeme Rocher, Jeff Brown
    Pages 171-198
  10. Creating Web Flows

    • Graeme Rocher, Jeff Brown
    Pages 199-247
  11. GORM

    • Graeme Rocher, Jeff Brown
    Pages 249-288
  12. Services

    • Graeme Rocher, Jeff Brown
    Pages 289-304
  13. Integrating Grails

    • Graeme Rocher, Jeff Brown
    Pages 305-365
  14. Plugins

    • Graeme Rocher, Jeff Brown
    Pages 367-406
  15. Security

    • Graeme Rocher, Jeff Brown
    Pages 407-448
  16. Web Services

    • Graeme Rocher, Jeff Brown
    Pages 449-485
  17. Leveraging Spring

    • Graeme Rocher, Jeff Brown
    Pages 487-517
  18. Legacy Integration with Hibernate

    • Graeme Rocher, Jeff Brown
    Pages 519-543
  19. Back Matter

    Pages 545-618

About this book

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

About the authors

Graeme Rocher is an experienced software engineer, consultant and dynamic language expert. Graeme is project lead of the open source Grails web application framework (Grails.org) and author of The Definitive Guide to Grails. In Graeme's role as head of Grails development at SpringSource, the professional open source services company behind the Spring framework, Graeme leads the development of the Grails web framework and provides consulting, training and support to SpringSource's clients. Graeme is a frequent speaker at industry conferences on subjects related to Groovy, Grails and dynamic languages in Java. Prior to joining SpringSource Graeme co-founded G2One the Groovy/Grails Company which was later acquired by SpringSource.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 46.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access