Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
|
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 particular, we’ll examine how different components in an application can communicate internally while different events in the application’s lifecycle unfold. One of the most popular ways of doing that is via messaging queues, an architecture sometimes referred to as message-oriented middleware (MOM).