Just as King Arthur and his knights embarked on a quest to find the Holy Grail in Monty Python and the Holy Grail, the next step in our discovery of Grails is to search for its very heart and soul…or in Java terms, its domain. Those of you familiar with Ruby on Rails and other web frameworks know the domain as amodel. These synonymous terms are most often used in conjunction with the objects that are persisted against the database. Although the terms are interchangeable, for the purpose of this book, we will follow Grails’ (and Java’s) lead and refer to the domain.
KeywordsDomain Class Domain Object Conversation Context Custom Constraint createDate Index
Unable to display preview. Download preview PDF.