×

Automatic code transformation

  • US 10,318,255 B2
  • Filed: 06/02/2017
  • Issued: 06/11/2019
  • Est. Priority Date: 03/28/2008
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a processing device; and

    a non-transitory computer-readable storage media configured to store computer-executable instructions that, upon execution by the processing device, control the system to perform;

    receiving stateful code that is called from a first location and executed at a second location;

    acquiring contextual information associated with the stateful code;

    determining a location for storage of state information based on the contextual information; and

    based on the determined location, transforming the stateful code into stateless code, wherein;

    the transforming includes storing state information for the stateful code into storage at the determined location; and

    in response to the determined location being the first location, the stateless code includes;

    at the first location, retrieving the state information from the storage at the first location;

    from the first location, sending a call to the second location, wherein one argument of the call includes the retrieved state information;

    at the first location, receiving a response from the second location, wherein one return value includes new state information; and

    storing the new state information into the storage at the first location.

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