5.8. Summary

In this chapter, we've seen how to implement a range of useful communication techniques using distributed data structures and simple protocols that operate over them. We started off by emulating basic message passing, and we saw that space-based programming results in a type of message passing that goes beyond what conventional message passing libraries can provide. Namely, the JavaSpaces technology naturally supports loosely coupled communication, which lends flexibility to all the communication patterns you'll ever build with spaces.

After basic message passing, we turned our attention to a versatile distributed data structure—a channel—as a means of supporting more sophisticated communication patterns. We explored many variants ...

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.