Patent ID: 8250588

Claim:
In a computer architecture including one or more processors and system memory, the computer architecture also including an application host, a persistence provider, and an instance store, the application host configured to issue persistence commands from a defined command set, the persistence commands for persisting data to and accessing data from instance stores configured to receive and process persistence commands contained in the defined command set, the instance store configured to receive and process persistence commands from a second different defined command set such that the instance store is not fully compatible with persistence commands contained in the defined command set, a method for implementing a persistence command contained in the defined command set issued from the application host to the instance store, the method comprising: an act of the persistence provider providing a handle for the instance store to the application host, the handle associable with context information related to persistence commands contained in the defined command set issued by the application host, the associable context information accumulated for the handle from using the handle to access the instance store; an act of the persistence provider receiving a persistence command issued from the application host in the context of the context information currently associated with the handle and directed to the instance store, the persistence command contained in the defined command set, the persistence command associated with application state for an application; an act of the persistence provider translating the received persistence command into one or more compatible persistence commands contained in the second different defined command set; an act of the persistence provider submitting the one or more compatible persistence commands in the context of the context information currently associated with the handle to the instance store so as to instruct the instance store to perform the received persistence command and return results of processing the received persistence command; an act of the persistence provider accumulating additional context information to associate with the handle based on a portion of the returned results received by the persistence provider in response to the instance store processing the one or more compatible persistence commands; an act of the persistence provider providing a view of the state of the instance store consistent with the atomic execution of the received persistence command, including the application state, to the application host in accordance with the defined command set, the view provided subsequent and in response to the persistence provider receiving the received persistence command, the view formulated from returned results returned by the instance store in response to the instance store processing the one or more compatible persistence commands.