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

A Sample JMS Pub/Sub Application

In this section, we'll get a better feel for the details involved in writing a messaging application. Instead of discussing how to do this under the different models (PTP or pub/sub) and reliability configurations (persistent delivery, nonpersistent delivery, durable subscriptions, and nondurable subscriptions), we will stick to our Red Planet example, which involves distributing price updates to resellers. This means that we'll commit to specific set of JMS deployment options. Coding under an alternative messaging model with alternative reliability configurations is very similar to what will be presented here.

In thinking about our specific Red Planet example, a few immediate observations and corresponding decisions ...

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