O'Reilly logo

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology by Greg Barish

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

Summary

In this chapter, we explored messaging as a strategy for asynchronous request processing. The J2EE technology for messaging, JMS, can be an efficient solution when integrating enterprise applications across network boundaries or within the components of an application system itself.

We saw that JMS provides two basic models of messaging that allow messages to be sent to one or more clients simultaneously. While both enable information to be sent from producer to consumer asynchronously, the consumer can choose to have the message delivered to it synchronously. In addition, we identified how options for persistence and client acknowledgment can affect both reliability and performance.

When designed and deployed correctly, JMS-based solutions ...

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