O'Reilly logo

Spring Persistence: A Running Start by Solomon Duskis, Paul Tepper Fisher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required