×

Programmatically serializing complex objects using self-healing techniques

  • US 7,150,004 B2
  • Filed: 08/21/2002
  • Issued: 12/12/2006
  • Est. Priority Date: 08/21/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of programmatically serializing complex objects, comprising steps of:

  • invoking, at run time, a serialization process on an object to be serialized;

    encountering one or more errors that halt the run-time serialization process, due to missing type mappings that are needed to map from the object to a serialized form thereof;

    programmatically resolving each encountered error, upon encountering each of the missing type mapping errors during the run-time serialization process, further comprising steps of;

    programmatically analyzing an exception message resulting from each encountered error to locate therein a class name indicating a class of the object for which the type mapping is missing;

    performing at least one of introspection and reflection on the class having the located class name to determine type information for fields of the class;

    programmatically generating a type mapping for the class using the determined type information; and

    using the programmatically generated type mapping for serializing the class of the object to the serialized form thereof; and

    automatically restarting the serialization process after each encountered error is resolved.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×