7. A computer-readable storage medium having computer-executable instructions for performing steps comprising: activating a plurality of local names corresponding to a plurality of entities registered to a first compartment of a plurality of compartments, each local name identifying a corresponding local box, by retrieving the local names from a secondary storage device to an active memory, wherein the local names are not unique across the plurality of compartments, and wherein the local names corresponding to the plurality of entities registered to the first compartment comprise sequential numbers; assigning identical local names to two entities that are registered to different ones of the plurality of compartments; for a first entity of the plurality of entities registered to the first compartment: (a) sending a local message from the first entity to a local box of a local entity that is also registered to the first compartment; (b) sending a non-local message from the first entity to a global box of a non-local entity that is not registered to the first compartment; (c) retrieving a message from the local box of the first entity; and (d) if the first entity has a global box, then retrieving a message from the global box of the first entity; repeating steps (a)-(d) for each remaining entity registered to the first compartment; and deactivating the local names corresponding to the entities registered to the first compartment by returning the local names from the active memory to the secondary storage device.
7. A computer-readable storage medium having computer-executable instructions for performing steps comprising: activating a plurality of local names corresponding to a plurality of entities registered to a first compartment of a plurality of compartments, each local name identifying a corresponding local box, by retrieving the local names from a secondary storage device to an active memory, wherein the local names are not unique across the plurality of compartments, and wherein the local names corresponding to the plurality of entities registered to the first compartment comprise sequential numbers; assigning identical local names to two entities that are registered to different ones of the plurality of compartments; for a first entity of the plurality of entities registered to the first compartment: (a) sending a local message from the first entity to a local box of a local entity that is also registered to the first compartment; (b) sending a non-local message from the first entity to a global box of a non-local entity that is not registered to the first compartment; (c) retrieving a message from the local box of the first entity; and (d) if the first entity has a global box, then retrieving a message from the global box of the first entity; repeating steps (a)-(d) for each remaining entity registered to the first compartment; and deactivating the local names corresponding to the entities registered to the first compartment by returning the local names from the active memory to the secondary storage device. 10. The computer-readable storage medium of claim 7 having further computer-executable instructions for performing the steps of: assigning a local name to each entity registered to one of the plurality of compartments, each local name being unique to each compartment such that no two entities that are registered to a single compartment are assigned identical local names; and assigning a global name to each entity registered to one of the plurality of compartments that is referenced by at least one non-local entity, each global name being unique to the plurality of compartments such that no two entities within the plurality of compartments are assigned identical global names.