×

Method and system for providing version control of parameters in a command-based API using Java serialization

  • US 7,409,693 B2
  • Filed: 10/30/2003
  • Issued: 08/05/2008
  • Est. Priority Date: 10/30/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for providing a command from a client-side host to a server-side host, comprising:

  • invoking a client-side application programming interface (API) at the client-side host to pass in a set of parameter objects, and to provide a command object that contains the parameter objects;

    wherein each of the parameter objects represents a different parameter of a command, said different parameter representing a different function and each new parameter for the command is defined as a unique new class type;

    serializing the command and parameter objects to provide serialized command and parameter objects; and

    sending the serialized command and parameter objects to the server-side host as the command to determine whether said server-side host supports said different function,receiving the serialized command and parameter objects at the server-side host as the command from the client-side host;

    deserializing, by said server-side host, the serialized command and parameter objects to determine whether the server-side host is compatible with the different parameters of the command that are represented by the parameter objects, the server-side host determining that the server-side host is not compatible with one or more of the different parameters if the server-side host does not support a class type associated with said one or more of the different parameters, andreformulating, by said client-side host, the command to delete one or more parameters determined to be incompatible,wherein;

    if the server-side host cannot successfully deserialize at least one of the serialized parameter objects, the server-side host sends an error message to the client-side host to inform the client-side host that the server-side host does not support the parameter represented by the at least one serialized parameter object that cannot be successfully deserialized.

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