Patent ID: 8103740

Claim:
A computer-implemented method comprising: receiving, at a first server corresponding to a first domain, a request from a client computer for a library file that includes instructions that implement a implementation method that is associated with a first unique identifier; and sending the library file to the client computer, the client computer having received an application file from a second server corresponding to a second domain, wherein the application file includes instructions that implement a stub method to direct calls to the implementation method, wherein the stub method is associated with a second unique identifier, and wherein executing the library file and the application file causes the client computer to perform operations comprising: associating the implementation method with the first domain and the stub method with the second domain so that the implementation method is restricted to receiving an argument from the stub method as data without an associated data type; establishing a link between the implementation method and the stub method using the first unique identifier and the second unique identifier; receiving a call to the stub method made by code executed in association with the second domain, the call having an argument associated with a data type; in response to receiving the call to the stub method, forwarding the call with the argument to the implementation method using the established link and passing the argument by reference, wherein the argument is received by the implementation method without the associated data type; and processing the forwarded call with the argument that was passed by reference using the implementation method.