6.3. The Marketplace Pattern
As a third example application framework, we'll explore the marketplace pattern. The marketplace pattern represents a framework in which producers and consumers of resources can interact with one another to find the best deal.
A resource may be any product or service that can be bought and sold—whether it be bandwidth, computing cycles, regional electric power, compact discs, automobiles, antiques, or something else. Buyers request resources with certain characteristics, and sellers with products that match or approximate those characteristics issue “bids.” By evaluating bids and choosing the “best,” buyers are able to obtain resources that provide the characteristics they care about most—the resource might be the ...
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.