Chapter 5. Communication

When your tail happens to be missing, someone will try to convince you that you left it somewhere. But you'll know that somebody must have taken it.

—Eeyore, Eeyore's Gloomy Little Instruction Book

In the last chapter we used distributed data structures for synchronization, and in this chapter we are going to explore their use in communication. Together, communication and synchronization are the glue that holds processes together in any distributed application. If you master the basics of each, you will be well on your way to building sophisticated applications with spaces.

Space-based communication is a little different from the message passing or remote method invocation packages you may have used in the past. Space-based ...

Get JavaSpaces™ Principles, Patterns, and Practice 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.