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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.