Asynchronous web service callouts and servlet handling
Assigneesalesforce.com, inc.
InventorsYan Tan, Gregory D. Fee, Sreeram Duvur, Christopher Wall
Life of this patent
Estimating the term…
Loading patent…
Assigneesalesforce.com, inc.
InventorsYan Tan, Gregory D. Fee, Sreeram Duvur, Christopher Wall
Estimating the term…
Techniques and mechanisms for providing asynchronous web service calls in an on-demand services environment. In response to request from a remote client computing device, accessing a page provided by one or more server computing devices of the on-demand services environment. The page has content including logic to retrieve information from a remote resource external to the on-demand services environment via at least one asynchronous web service call. A controller component of the page is loaded before rendering a response to the remote computing device. The controller component is executed by a first thread within the on-demand services environment. At least one web service call is sent to the remote resource with the controller component. A continuation object is returned with the controller component to release the first thread from waiting for a response to the web service call, the continuation object providing at least a label to be used when handling the response when received. The response to the web service call is received from the remote resource. Processing is resumed with the continuation object in response to receiving the response.
A method for providing asynchronous web service calls in an on-demand services environment, the method comprising:
An apparatus to provide asynchronous web service calls in an on-demand services environment, the apparatus comprising:
A non-transitory computer-readable medium having stored thereon instruction that, when executed by one or more processors, provide asynchronous web service calls in an on-demand services environment, the instructions to cause the one or more processors to:
A system comprising a plurality of interconnected computing devices to provide asynchronous web service calls in an on-demand services environment, the system to access, in response to a request from a remote client computing device, a page provided by one or more server computing devices of the on-demand services environment, the page having content including at least logic to retrieve information from a remote resource external to the on-demand services environment via at least one asynchronous web service call, to load a controller component of the page before rendering a response to the remote client computing device, wherein the controller component is executed by a first thread within the on-demand services environment, to send at least one web service call to the remote resource with the controller component, to return a continuation object with the controller component to release the first thread from waiting for a response to the web service call, the continuation object providing at least a label to be used when handling the response when received, to receive the response to the web service call from the remote resource, and to resume processing with the continuation object in response to receiving the response.
Dependencies are inferred from the claim text.