| US 7,478,399 B2 | ||
| Method, system and program product for transferring program code between computer processes | ||
| Hong Min, Poughkeepsie, N.Y. (US); Egide Van Aerschot, La Grande Motte (France); and Paul J. Wanish, Poughkeepsie, N.Y. (US) | ||
| Assigned to International Business Machines Corporation, Armonk, N.Y. (US) | ||
| Filed on Dec. 16, 2003, as Appl. No. 10/737,388. | ||
| Application 10/737388 is a continuation in part of application No. 10/420065, filed on Apr. 21, 2003, granted, now 7,376,832. | ||
| Prior Publication US 2004/0210879 A1, Oct. 21, 2004 | ||
| Int. Cl. G06F 9/44 (2006.01); G06F 15/16 (2006.01) | ||
| U.S. Cl. 719—313 [709/231] | 6 Claims |

| 1. A method of transferring executable program code between computer processes, the method comprising:
providing, by a sender computer process, an object which comprises a hashtable, the hashtable having at least one set of elements,
one element of the at least one set of elements comprising executable program code, the providing comprising:
creating an empty hashtable;
integrating executable program code into the hashtable; and
serializing the hashtable into a serialized data object for transport to a receiver computer process;
wherein the executable program code comprises logic which employs as the only input the hashtable within which the program
code logic resides;
transferring the object from the sender computer process to the receiver computer process, retrieving the executable program
code from the hashtable at the receiver computer process, adding data to the hashtable by the receiver computer process, and
invoking the executable program code with the hashtable as the only data input thereto, wherein data is added to the hashtable
by the receiver computer process prior to invoking of the executable program code retrieved from the hashtable with the hashtable
as the only data input thereto;
wherein the providing comprises providing multiple serialized objects, each serialized object having a different hashtable
therein, and transporting a first serialized object from a first sender computer process to the receiver computer process
and transporting a second serialized object from a second sender computer process to the receiver computer process, and deserializing
the first serialized object and the second serialized object at the receiver computer process to obtain a first hashtable
and a second hashtable; and
wherein the method further comprises creating at the receiver computer process an empty common hashtable, integrating the
first hashtable from the first sender computer process and the second hashtable from the second sender computer process into
the common hashtable, adding data to the common hashtable at the receiver computer process, the data being relevant to executable
program code in the common hashtable integrated therein from the first hashtable or the second hashtable, and being added
prior to invoking the executable program code using as data input only the common hashtable, and iterating through the common
hashtable for executable program code to be invoked using the common hashtable as the only data input thereto.
|