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

Specific Challenges

To really focus on the pieces of the request-processing puzzle, we need to look first at the deceptively simple and pretty picture and then zoom in on the ugly details. Let's consider an example where a client requests and receives data from a server. We won't assume anything about client/server proximity. In fact, we'll consider the worst case—that they're not in the same address space (like threads in a common program) and communicate over a network.

For this example, consider a client that makes a simple request of a server: Return all of the pizza restaurants in Chicago. Figure 6-1 represents the “pretty picture” view of this request. In contrast, Figure 6-2 illustrates the ugly details.

Figure 6-1. The pretty picture ...

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