Patent ID: 7882173

Claim:
A computer implemented method for executing a remote command in a stateless client/server environment, the computer implemented method comprising: receiving, at a server, a request thread for a command from a user at a client; determining whether to process the request thread synchronously or asynchronously; responsive to a determination to process the request thread synchronously, blocking further requests from the client until execution of the command is completed and a result is returned to the client; responsive to a determination to process the request thread asynchronously, launching an asynchronous thread of execution for the command to form a command thread; creating a conversation identifier for identifying the command thread; responsive to executing the command thread, determining that a conflict in execution of the command thread exists; responsive to a determination that a conflict exists, halting execution of the command thread; creating a user input request, wherein the user input request includes a user input request identifier, and wherein the user input request requests a user to provide a resolution to the conflict in the execution of the command thread; sending the user input request with the user input request identifier and the conversation identifier to the user at the client; responsive to receiving a response from the client comprising the user input request identifier, the conversation identifier, and a user input that resolves the conflict, processing the user input at the server; and resuming execution of the command thread based on the user input.