×

Preservation of type information between a client and a server

  • US 8,032,657 B2
  • Filed: 12/27/2005
  • Issued: 10/04/2011
  • Est. Priority Date: 09/12/2005
  • Status: Active Grant
First Claim
Patent Images

1. In a distributed computing system including at least one server component (“

  • server”

    ) and at least one client component (“

    client”

    ), a computer-implemented method for preserving type information of a server object that is passed from the server to the client, comprising;

    receiving a service request from a client computer system, the service request including a request for an indication of those services provided by the server;

    creating a server object including an indication of those services provided by the server, wherein the server object includes a special token that includes one or more portions of specialized syntax in a special token format that identify the type information associated with the server object and one or more values of properties associated with the server object, wherein the special token is included as part of a client-side service definition that defines the parameters and methods of the client-side service;

    associating the server object with at least a portion of type information and at least a portion of property information corresponding to the server object, the property information including one or more property values;

    verifying that the server object is of a specified registered type, wherein only specific object types are allowed to be passed between the server and the client, preventing clients from manufacturing and passing malicious or other arbitrary objects to the server;

    serializing the server object using a custom serialization method that changes the format of the server object according to one or more specified object receiver settings, such that object property names are changed to comply with formats accessible by the object receiver;

    passing each of the following to the client;

    the verified, serialized server object including the type information and the property information, the custom serialization method, a server custom serialization mechanism and a client custom deserialization mechanism; and

    receiving from the client a modified server object, wherein the client has used both the custom serialization method and the client custom deserialization mechanism to deserialize the serialized server object, and has modified the server object by instantiating a new client object using the same type information and property information as the server object while changing at least one of the property values, and wherein the client passes the newly instantiated client object to the server by making a call for a method of the server service using the new client object as a parameter to the method.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×