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

Scalability and Performance Hints

As we've seen, messaging is a simple but flexible technology for achieving high-performance asynchronous communication. In this section, we consider a few scalability and performance suggestions related to when and how to use it in your own applications.

Use Messaging

The biggest hurdle with messaging is getting people to realize how it can help make applications efficient. Part of the problem is that many of us are used to thinking of Web applications from the interactive end-user perspective. We see a user action and we expect a corresponding server reaction. By nature, we tend to think serially and synchronously ...

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