6.4. Other Patterns

So far in this chapter we've explored three common patterns, each of which was simple, powerful, and quite general. The replicated-worker pattern isn't geared to any particular problem domain, but is applicable to a large class of compute-intensive problems. Likewise, the command pattern can be used as the basis for a generic compute server, ready to take on any kind of problem we throw at it. The marketplace pattern is suitable for any domain in which there's a resource being bought and sold and parties are trying to find the best deal.

These three very general patterns are just a starting point to the application patterns you can devise. Other patterns tend to be more ad hoc or specialized than the ones we've already seen, ...

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.