2.5. Going Further with the Example
At this point we've covered the basic syntax and semantics of the JavaSpaces API. Other than the more advanced topics of leases, remote events, and transactions, which we will cover in later parts of the book, that's all there is—it is a small and simple API. What we haven't yet covered are the principles, patterns, and common practices of space-based programming, and that topic will consume much of the remainder of the book.
As a first step on the journey, we are going to take our spaceship example a bit further. Our goal in this section is to get across the nature of entries as they flow into and out of spaces—while in a space, entries are passive objects that can be read or taken from the space (but we can't ...
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.