12.3. A JMS-Based Game Server

In all the versions of the example application we've developed so far, the results of games have been received from sources inside the application. For the purposes of illustrating Web Services, we're going to start thinking about our application as two independent components. The application we've developed up until now is the Standings application. Now we'll look at a new application, a Game Server, which provides the results of games played. Our Standings application will be a client of the GameServer application. The relationship is depicted graphically in Figure 12.1.

Figure 12.1. Flow diagram for the JMS version of the application.

In this chapter, we'll develop a GameServer using JMS, and then we'll revisit ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.