What are the differences between a Context and a Cluster interface?
A Cluster is very similar to a Context. There are certain operations found in a Context that are not relevant to a Cluster. For example, it doesnt make sense binding a context to a Cluster. A Cluster is supposed to contain a set of object references, not contexts. However, a Cluster interface shares many of the same operations with the Context interface, such as bind, rebind, resolve, unbind and list operations. This common set of operations pertains to operations on a group. The only cluster specific operation is pick(). Another crucial difference between the two is that a Cluster does not support compound name. It only uses a single component name. This is because there is no directory structure in a Cluster. A Cluster stores its object references in a flat structure.