2.7. Summary

We have covered a lot of ground in this chapter, taking a close look at the two primary objects used in space-based programming: the space and the entry. We covered the basic operations in tutorial style, giving some simple examples along with explanations of how to use the JavaSpace interface.

We've also spent a fair amount of time in this chapter discussing the various requirements and conventions you need to follow when creating entries. Implementing the Entry interface is a requirement, and so is supplying a no-arg constructor in your entries. If you don't follow these requirements, you'll encounter compile-time and run-time errors. If you don't follow other conventions—namely, making sure the fields of your entries are public ...

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.