4.2. A Service’s Many Clients

It was an interesting exercise to see how we can send rather complicated data back to a “single” client. However, in the real world, services must handle multiple clients. A service architect should anticipate several concurrent clients contending for use of the service at the same time. The obvious choice in such a scenario is to share the service resources among the clients in a transparent manner. Sharing of service resources poses some interesting problems, including quality of service and even privacy. In this section, we will look at these two issues more closely. The subsequent section delves into the details on how to circumvent these issues.

Let’s say that you set up an Order Status service for the regional ...

Get Web Services: A Java™ Developer’s Guide Using E-Speak 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.