Inter-process communication using different programming languages
AssigneeSun Microsystems, Inc.
InventorEamonn McManus
Life of this patent
Estimating the term…
Abstract
A method for inter-process communication between a first process and a second process. The method includes receiving a request from the first process for processing a first process call in a first programming language by the second process, where the second process is configured to execute in a second programming language. The method further includes providing the second process with a procedure to emulate the processing of the first process call, where the procedure is defined in a data structure. Finally, the method includes converting the first process call into a second process call to the procedure using the data structure, executing the second process call using the procedure to obtain a result, and returning the result to the first process.
Claims15
A method for inter-process communication between a first process and a second process, comprising:
- receiving a request from the first process for processing a first process call in a first programming language by the second process, wherein the second process is configured to execute in a second programming language;
- providing the second process with a procedure to emulate the processing of the first process call, comprising:
- sending the second process a procedure parameter identifying a data structure, and
- providing the second process with type-defining code representing a data type from the first programming language, wherein the procedure is defined in the data structure;
- converting the first process call into a second process call to the procedure using the data structure;
- executing the second process call using the procedure to obtain a result;
- and returning the result to the first process.
A computer storage medium comprising computer executable code, which when executed by a processor, performs a method, the method comprising:
- receiving a request for processing a first process call from a first process in a first programming language by a second process, wherein the second process is configured to execute in a second programming language;
- providing the second process with a procedure to emulate the processing of the first process call, comprising
- sending the second process a procedure parameter identifying a data structure, and
- providing the second process with type-defining code representing a data type from the first programming language, wherein the procedure is defined in the data structure;
- converting the first process call into a second process call to the procedure using the data structure;
- executing the second process call using the procedure to obtain a result;
- and
- returning the result to the first process.
A system for inter-process communication between a first process and a second process comprising:
- a processor;
- a memory;
- and
- a storage device encoded with functionality to:
- receiving a request for processing a first process call from the first process in a first programming language by the second process, wherein the second process is configured to execute in a second programming language;
- providing the second process with a procedure to emulate the processing of the first process call, comprising:
- sending the second process a procedure parameter identifying a data structure, and
- providing the second process with type-defining code representing a data type from the first programming language, wherein the procedure is defined in the data structure;
- converting the first process call into a second process call to the procedure using the data structure;
- executing the second process call using the procedure to obtain a result;
- and
- returning the result to the first process.
Dependencies are inferred from the claim text.