Method and apparatus for storing persistent objects on a distributed object network using a marshaling framework
First Claim
1. In a distributed object system having persistent objects installed thereon, a method for managing persistence data for the installed persistent objects, the persistence data being written to a data store, the persistence data including a persistent object attribute having a persistent object attribute value, the method comprising the steps of:
- a) marshaling the persistent object attribute value into a marshal buffer, wherein marshaling the persistent object value into the marshal buffer provides an encoded persistent object attribute value;
b) updating the encoded persistent object attribute value to provide an encoded updated persistent object attribute value, wherein the encoded updated persistent object attribute value is provided in the marshal buffer;
c) unmarshaling the encoded updated persistent object attribute value from the marshal buffer to provide a decoded updated persistent object attribute value; and
d) writing the decoded updated persistent object attribute value to the data store.
3 Assignments
0 Petitions
Accused Products
Abstract
Data structures, methods and devices for implementing persistence data storage such that persistent objects may be efficiently created and accessed in a distributed client/server computing system are disclosed. In one aspect of the invention, a method for managing persistence data for installed persistent objects involves marshaling a persistent object attribute value into a marshal buffer to provide an encoded persistent object attribute value, updating the persistent object attribute value to provide an updated persistent object attribute value, unmarshaling the updated persistent object attribute value from the marshal buffer to provide a decoded updated persistent object attribute value, and writing the decoded updated persistent object attribute value to the data store. In another aspect of the invention, a method for writing decoded updated persistent object attribute values to the data store includes extracting an index of persistent object attributes stored in the data structure, finding the location of the persistent object attribute in the data base, adding the persistent object attribute to the data store if the persistent object attribute cannot be found in the index, and writing the persistent object attribute value to the data store at the location corresponding to the persistent object attribute.
197 Citations
35 Claims
-
1. In a distributed object system having persistent objects installed thereon, a method for managing persistence data for the installed persistent objects, the persistence data being written to a data store, the persistence data including a persistent object attribute having a persistent object attribute value, the method comprising the steps of:
-
a) marshaling the persistent object attribute value into a marshal buffer, wherein marshaling the persistent object value into the marshal buffer provides an encoded persistent object attribute value; b) updating the encoded persistent object attribute value to provide an encoded updated persistent object attribute value, wherein the encoded updated persistent object attribute value is provided in the marshal buffer; c) unmarshaling the encoded updated persistent object attribute value from the marshal buffer to provide a decoded updated persistent object attribute value; and d) writing the decoded updated persistent object attribute value to the data store. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a distributed object system having persistent objects installed thereon, a method for managing persistence data for the installed persistent objects, the persistence data being written to a data store, the persistence data further including a persistent object attribute having a persistent object attribute value and a persistent object attribute name, the method comprising the steps of:
-
a) invoking a first method on the distributed object system, the first method being associated with the persistent object attribute having the persistent object attribute value and the persistent object attribute name; b) marshaling the persistent object attribute value into a marshal buffer to provide thereby an encoded persistent object attribute value; c) updating the encoded persistent object attribute value to provide an encoded updated persistent object attribute value; d) unmarshaling the encoded updated persistent object attribute value from the marshal buffer to provide a decoded updated persistent object attribute value; and e) writing the decoded updated persistent object attribute value to the data store. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A distributed object system arranged to store persistence data for installed persistent objects in a data store, the persistence data being written to a data store, the persistence data further including a persistent object attribute having an associated persistent object attribute value, the distributed object system comprising:
-
a) a processor; b) a mass storage mechanism on which the persistence data is stored; c) a marshaling mechanism for encoding the persistent object attribute value into a marshal buffer to provide thereby an encoded persistent object attribute value; and d) an unmarshaling mechanism for decoding the encoded persistent object attribute value from the marshal buffer to provide a decoded persistent object attribute value. - View Dependent Claims (16, 17, 18)
-
-
19. A computer program product including a computer-usable medium having computer-readable code devices embodied thereon for implementing a persistence data storage framework, the persistence data storage framework comprising:
-
a) an instance of a persistent object class, the instance of the persistent object class including a set of persistent object attribute values; b) a persistence data storage mechanism associated with the instance of the persistent object class; and c) instances of classes which define a pluggable back-end associated with the persistence data storage mechanism. - View Dependent Claims (20, 21, 22, 23)
-
-
24. A computer program product including a computer-usable medium having computer-readable code devices embodied thereon for storing state data for persistent objects in a data store defined within a distributed object system, the data store containing information corresponding to the persistent objects, the data store further containing information corresponding to attributes used to invoke methods in the distributed object system, the data store comprising:
-
a) a root node which identifies a version of the data store; b) at least one persistent object associated with the root node; c) at least one attribute associated with the persistent object, the at least one attribute including an attribute name and an attribute value; d) an object identifier associated with the persistent object which identifies the persistent object; and e) at least one type identifier which associates the persistent object with a corresponding method table, wherein the method table includes at least one method which is arranged to be invoked by the persistent object. - View Dependent Claims (25, 26, 27)
-
-
28. A computer system for storing persistence data for a first persistent distributed object, the persistence data for the first persistent distributed object including an attribute name and an attribute value, the computer system comprising:
-
a) a persistent data storage mechanism arranged to process and store the persistence data for the first persistent distributed object; and b) a representation of a data store which is configured to be adapted such that different back-end representations of the data store may be included with the persistent object storage mechanism. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35)
-
Specification