Provided is a method, system, and program for allowing communication among
nodes in a system. A request is received in a source node from a source
object executing in the source node to send a message to a destination
object executing in a destination node. Each node includes a processor
capable of multitasking multiple program objects and a communication
interface to transmit and receive data with the other nodes. A
determination is made in the source node as to whether the destination
node and source node are a same node. The message is sent in the source
node to the destination object within the source node if the destination
node is the source node. If the destination node is not the source node,
then the source node transmits the message to the destination node
through the communication interface. The destination node sends the
message to the destination object within the destination node.