Abstract
Object-oriented (OO) applications almost always involve a domain model representing the business entities that the application deals with. Our gTunes application will include a number of domain classes including Artist, Album, and Song. Each of these domain classes has properties associated with it, and you must map those properties to a database in order to persist instances of those classes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Scott W. Ambler,“The Object-Relational Impedance Mismatch,” http://www.agiledata.org/essays/ impedanceMismatch.html, 2006.
Wikipedia,“Optimistic concurrency control,” http://en.wikipedia.org/wiki/ Optimistic_concurrency_control.
Rights and permissions
Copyright information
© 2009 Graeme Rocher, Jeff Brown
About this chapter
Cite this chapter
Rocher, G., Brown, J. (2009). Understanding Domain Classes. In: The Definitive Guide to Grails. Apress. https://doi.org/10.1007/978-1-4302-0871-6_3
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0871-6_3
Publisher Name: Apress
Print ISBN: 978-1-59059-995-2
Online ISBN: 978-1-4302-0871-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)