O'Reilly logo

Grails in Action by Peter Ledbrook, Glen Smith

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 13. Advanced GORM kung fu

In this chapter

  • Specialized domain class options
  • Caching, profiling, and optimizing tips
  • Dealing with multiple dataSource objects in one application
  • Legacy integration strategies

In chapter 3, you had your first exposure to Grails’ domain classes. Life was simple: we saved, we validated, and we used dynamic finds. You can go a long way with that knowledge—probably all the way to your first few publicly hosted Grails applications. But then you’ll hit the wall. As users flock to your stunning new social networking applications, you’ll wonder how you can tune your queries to run more efficiently. You’ll start to think about query-caching options. You’ll want to refactor your domain classes. And you’ll want ...

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