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 ...

Get Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.