A method and communication network for transferring data is described. For
the method, responsive to executing first code in a first node in a
communication network, the first node establishes a communication channel
with a second node, replicates itself to generate second code, and
provides the second code to the second node over the communication
channel. Responsive to executing the second code in the second node, the
second node establishes a communication channel with a third node,
replicates itself to generate third code, and provides the third code to
the third node over the communication channel. The second node then
receives data from the first node over the communication channel and
executes the second code to handle the data. The third node then receives
the data from the second node over the communication channel and executes
the third code to handle the data.