Transformation of objects between a computer programming language and a data representation language
First Claim
1. A computer-implemented method for representing computer programming language objects in a data representation language, the method comprising:
- a process executing within a virtual machine providing a first computer programming language object to a compilation process of the virtual machine, wherein the first object is an instance of a class in the computer programming language; and
the compilation process of the virtual machine converting the first object into a data representation language representation of the first object;
wherein the data representation language representation of the first object is configured for use in generating a copy of the first object;
wherein the compilation process of the virtual machine converting the first object into a data representation language representation of the first object comprises;
processing the first object into an intermediary hash table representation of the first object, wherein at least one entry of the intermediary hash table representation includes;
a hash key including a name of an instance variable of the first object; and
a value for the instance variable; and
processing the intermediary hash table representation of the first object into the data representation language representation of the first object.
2 Assignments
0 Petitions
Accused Products
Abstract
A virtual machine (e.g. the Java Virtual Machine (JVM)) may include extensions for compiling objects (e.g. Java Objects) into data representation language (e.g. XML) representations of the objects, and for decompiling representations of objects into objects. The virtual machine may supply an API to the compilation/decompilation extensions. The compiler/decompiler API may accept an object as input, and output a data representation language representation of the object and all its referenced objects (the object graph) in a data stream. In addition, the compiler/decompiler API may accept a data stream, which includes a representation of the object and all its referenced objects (the object graph), and output the object (and all the objects in its object graph). In one embodiment, an intermediary format may be used to represent a data representation language document and may be dynamically processed to generate a class instance from the data representation language document.
349 Citations
84 Claims
-
1. A computer-implemented method for representing computer programming language objects in a data representation language, the method comprising:
-
a process executing within a virtual machine providing a first computer programming language object to a compilation process of the virtual machine, wherein the first object is an instance of a class in the computer programming language; and the compilation process of the virtual machine converting the first object into a data representation language representation of the first object; wherein the data representation language representation of the first object is configured for use in generating a copy of the first object; wherein the compilation process of the virtual machine converting the first object into a data representation language representation of the first object comprises; processing the first object into an intermediary hash table representation of the first object, wherein at least one entry of the intermediary hash table representation includes; a hash key including a name of an instance variable of the first object; and a value for the instance variable; and processing the intermediary hash table representation of the first object into the data representation language representation of the first object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented method for generating computer programming language objects from data representation language representations of the objects, the method comprising:
-
a virtual machine receiving a data representation language representation of a first computer programming language object from a first process; a decompilation process of the virtual machine generating the first object from the data representation language representation of the first object, wherein the first object is an instance of a class in the computer programming language; wherein said generating comprises; processing the data representation language representation of the first object into an intermediary table representation of the first object; and generating the first object from the intermediary table representation of the first object; and the decompilation process of the virtual machine providing the first object to a second process executing within the virtual machine. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer-implemented method for passing computer programming language objects between processes in a distributed computing environment, comprising:
-
a first virtual machine receiving from a first process a computer programming language object, wherein the object is an instance of a class in the computer programming language; the first virtual machine generating a representation of the object in a data representation language subsequent to said receiving; generating a message in the data representation language, wherein the message includes the data representation language representation of the object; sending the message to a second process; and the second process generating a copy of the computer programming language object from the data representation language representation of the object included in the message; wherein said second process generating comprises; processing the data representation language representation of the object into an intermediary table representation of the object; and generating the copy of the computer programming language object from the intermediary table representation of the object. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A computer-implemented method for passing computer programming language objects between processes in a distributed computing environment, comprising:
-
a first process receiving a message in a data representation language from a second process, wherein the message includes information representing a computer programming language object; the first process providing the information representing the object to a virtual machine; the virtual machine generating the object from the information representing the object, wherein the object is an instance of a class in the computer programming language; wherein said generating comprises; processing the data representation language representation of the object into an intermediary table representation of the object; and generating the object from the intermediary table representation of the object; and the virtual machine providing the generated object to the first process. - View Dependent Claims (33, 34, 35, 36, 37)
-
-
38. A device, comprising:
-
a processor; a memory comprising virtual machine program instructions executable on the processor to; convert a first computer programming language object into a data representation language representation of the first object, wherein the first object is an instance of a class in the computer programming language; wherein the data representation language representation of the first object is configured for use in generating a copy of the first object; wherein, in said converting the first object into a data representation language representation of the first object, the virtual machine program instructions are further executable to; process the first object into an intermediary hash table representation of the first object, wherein at least one entry of the intermediary hash table representation includes; a hash key including a name of an instance variable of the first object; and a value for the instance variable; and process the intermediary table representation of the first object into the data representation language representation of the first object. - View Dependent Claims (39, 40, 41, 42, 43, 44, 45, 46)
-
-
47. A device, comprising:
-
a processor; a memory comprising virtual machine program instructions executable on the processor to; receive a data representation language representation of a first computer programming language object; generate the first object from the data representation language representation of the first object, wherein the first object is an instance of a class in the computer programming language; wherein to generate the first object from the data representation language representation of the first object, the virtual machine program instructions are further executable to; process the data representation language representation of the first object into an intermediary table representation of the first object; and generate the first object from the intermediary table representation of the first object. - View Dependent Claims (48, 49, 50, 51, 52, 53, 54, 55, 56, 57)
-
-
58. A distributed computing system, comprising:
a first device comprising; a first processor; a first memory comprising; virtual machine program instructions executable on the first processor to provide a first virtual machine; and a first process executable within the first virtual machine; wherein the first virtual machine is operable to; receive from the first process a computer programming language object, wherein the object is an instance of a class in the computer programming language; and generate a representation of the object in a data representation language subsequent to said receiving, wherein to generate the representation of the object in the data representation language the first virtual machine is operable to; process the object into an intermediary hash table representation of the first object wherein at least one entry of the intermediary hash table representation includes a hash key including a name of an instance variable of the object and a value for the instance variable; and process the intermediary hash table representation of the object into the data representation language representation of the object; wherein the first process is operable to; generate a message in the data representation language, wherein the message includes the data representation language representation of the object. - View Dependent Claims (59, 60, 61, 62, 63, 64, 65, 66)
-
67. A computer readable storage medium comprising program instructions, wherein the program instructions are computer-executable to implement:
-
a process executing within a virtual machine providing a first computer programming language object to a compilation process of the virtual machine, wherein the first object is an instance of a class in the computer programming language; and the compilation process of the virtual machine converting the first object into a data representation language representation of the first object; wherein the data representation language representation of the first object is configured for use in generating a copy of the first object; wherein the compilation process of the virtual machine converting the first object into a data representation language representation of the first object comprises; processing the first object into an intermediary hash table representation of the first object, wherein at least one entry of the intermediary hash table representation includes; a hash key including a name of an instance variable of the first object; and a value for the instance variable; and processing the intermediary hash table representation of the first object into the data representation language representation of the first object. - View Dependent Claims (68, 69, 70, 71, 72)
-
-
73. A computer readable storage medium comprising program instructions, wherein the program instructions are computer-executable to implement:
-
a virtual machine receiving a data representation language representation of a first computer programming language object from a first process; a decompilation process of the virtual machine generating the first object from the data representation language representation of the first object, wherein the first object is an instance of a class in the computer programming language; wherein in said generating the first object from the data representation language representation of the first object the program instructions are further computer-executable to implement; processing the data representation language representation of the first object into an intermediary table representation of the first object; and generating the first object from the intermediary table representation of the first object; and the decompilation process of the virtual machine providing the first object to a second process executing within the virtual machine. - View Dependent Claims (74, 75, 76, 77)
-
-
78. A computer readable storage medium comprising program instructions, wherein the program instructions are computer-executable to implement:
-
a first virtual machine receiving from a first process a computer programming language object, wherein the object is an instance of a class in the computer programming language; the first virtual machine generating a representation of the object in a data representation language subsequent to said receiving; generating a message in the data representation language, wherein the message includes the data representation language representation of the object; sending the message to a second process; and the second process generating a copy of the computer programming language object from the data representation language representation of the object included in the message; wherein said generating a copy of the computer programming language object comprises; processing the data representation language representation of the object into an intermediary table representation of the object; and generating the copy of the computer programming language object from the intermediary table representation of the object. - View Dependent Claims (79, 80, 81, 82, 83, 84)
-
Specification