Book Description
Unique to the popular Grails web framework is its architecture. While other frameworks are built from the ground up, Grails leverages existing and proven technologies that already have advanced functionality built in. One of the key technologies in this architecture is Hibernate, on top of which Grails builds its GORM (Grails Object Relational Mapping) model layer. This provides Grails a persistence solution.
Published with the developer in mind, firstPress technical briefs explore emerging technologies that have the potential to be critical for tomorrow's industry. Apress keeps developers one step ahead by presenting key information as early as possible in a PDF of 150 pages or less. Explore the future through Apress with Grails Persistence with GORM and GSQL
This firstPress book covers Grails persistence with GORM, from defining your first model to the nature of transactions and advanced Hibernate querying. Other APIs and tools such as GSQL (Groovy SQL) are covered as well, as needed, to empower your Grails persistence efforts.
What you'll learn
- Extend the Grails web framework into a broader, semi–enterprise framework by including and integrating Hibernate–based Java persistence, known as GORM.
- Use mappings to customize default behaviors and work with legacy schemas.
- Use constraints to define your object once and have those constraints enforced both in code and at the database level.
- Use advanced features of GORM and Hibernate Query Language (HQL) to simplify database querying and report generation.
- Debug and tune trips for GORM and Hibernate.
- Fill in the gaps with GSQL.
Who is this book for
This title is for those who have committed to dedicating some time to mastering Grails and are looking to move beyond the basics, and are especially interested in Grails and Groovy persistence for some limited transaction handling and/or accessing databases.
About the Author
Robert Fischer is an independent contractor specializing in web application development and technical leadership. He is a regular presenter at conferences on the topic of Groovy and Grails, development best practices, and functional programming. He also is a regular contributor to open source in many languages, with his key contributions being the JConch library for Java concurrency, a plug–in for Grails for background thread processing, and a plug–in for Grails for automatic database updating. He resides in Durham, North Carolina, with his wife.
Book Details
- Paperback: 125 pages
- Publisher: Apress; 1 edition (April, 2009)
- Language: English
- ISBN-10: 1430219262
- ISBN-13: 978-1430219262
- File Size: 5.8 MiB
- Hits: 1,066 times