Chapter 12. Understanding messaging and scheduling

In this chapter

  • What messaging is and how it works
  • How messaging aids scalable architectures
  • Points in your Grails application that benefit from messaging
  • How to implement queues and topics with a popular JMS server
  • How scheduling is implemented in Grails
  • Scheduling jobs with cron-style expressions
  • Programmatically creating and managing scheduled jobs
  • Advanced scheduling use cases for persistent and clustered jobs

In the last chapter, we spent some time investigating remoting options for Grails applications and looked at generating and consuming interapplication messages. In this chapter, we’ll keep you in that enterprise headspace, but we’ll look at sending intra-application messages. In ...

Get Grails in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.