Programmatically serializing complex objects using self-healing techniques
First Claim
1. A method of programmatically serializing complex objects, comprising steps of:
- determining an object to be serialized;
invoking a serialization process on the object;
encountering one or more errors during the serialization process, due to missing type mappings;
programmatically resolving each encountered error; and
restarting the serialization process after each encountered error is resolved.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and computer program products for programmatically serializing complex objects (such as JavaBeans™). In contrast to prior art techniques, a manually-specified data type mapping specification is not required as input to the serialization process. Instead, the present invention programmatically generates this type mapping, responsive to encountering run-time exceptions during the serialization process. The serialization process is therefore “self-healing”. This approach is especially advantageous when serializing complex objects that may include complex data types and/or embedded objects. The programmatically-generated type mapping information is preferably used to generate a serialized version of the complex object, and can also be used during deserialization. In addition to improving serialization techniques, this type mapping information facilitates dynamic integration and transformation of data between heterogeneous formats.
-
Citations
24 Claims
-
1. A method of programmatically serializing complex objects, comprising steps of:
-
determining an object to be serialized;
invoking a serialization process on the object;
encountering one or more errors during the serialization process, due to missing type mappings;
programmatically resolving each encountered error; and
restarting the serialization process after each encountered error is resolved. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for programmatically serializing complex objects, comprising:
-
means for invoking a serialization process on an object to be serialized;
means for programmatically resolving each of one or more errors that are encountered during the serialization process, due to missing type mappings; and
means for restarting the serialization process after each encountered error is resolved. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for programmatically serializing complex objects, the computer program product embodied on one or more computer-readable media and comprising:
-
computer-readable program code means for invoking a serialization process on an object to be serialized;
computer-readable program code means for programmatically resolving each of one or more errors that are encountered during the serialization process, due to missing type mappings; and
computer-readable program code means for restarting the serialization process after each encountered error is resolved. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification