Chapter 9: Rapid Web Development Using Groovy and Grails

GORM is Grail's answer to ORM. Essentially, it is an ORM framework based on Groovy. At the foundation of GORM lies the same strategy responsible for Ruby on Rails's success: convention over configuration. GORM drastically simplifies the amount of coding and effort required to define your application's persistence logic. With GORM and Grails, there is no need to define a DAO layer. Instead, the active record design pattern (which we'll discuss shortly) is employed, consolidating persistence functionality into the domain class itself. This may seem a bit like magic, but you'll learn how GORM works under the hood by tapping into the dynamic features of Groovy.

Note     GORM is the name of ...

Get Spring Persistence: A Running Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.