Patent ID: 8769555

Claim:
A method comprising: receiving, by a shadow object running within a source virtual machine on a first device, a request from a local object running within the source virtual machine for access to a foreign object running in a target virtual machine on at least one of the first device or a second device, wherein the shadow object was created in view of at least one of source code or binary code of the foreign object, and wherein the local object is one of either a first object operable in a first virtual machine or a second object operable in a second virtual machine and the foreign object is the other one of the first object or the second object; calling, by the shadow object running in the source virtual machine, the foreign object running in the target virtual machine in response to the request, the calling comprising making a local function call; and receiving, by the shadow object, data from a native class wrapper running in the target virtual machine, the data originating from the foreign object and being related to the request, wherein the native class wrapper was created in view of at least one of the source code or the binary code of the foreign object.