Patent ID: 8051092

Claim:
A computer-implemented method comprising: instantiating, at a server system comprising one or more programmable processors, a plurality of data objects associated with data stored in a database at a persistent storage, the instantiating providing for execution of a service called by an application; storing, in a runtime buffer, the instantiated plurality of data objects and the data associated with the plurality of data objects; sorting the plurality of data objects into a finalize sequence based on a priority assigned to each data object of the plurality of data objects during design of the plurality of data objects and prior to the calling of the service by the application, the priority of each data object comprising a dependency-based priority and a secondary criterion for ranking multiple data objects of the plurality of data objects that have a same dependency-based priority, the dependency-based priority comprising an inverse of a number of other data objects that depend upon that data object such that a first data object of the plurality of data objects has a higher dependency-based priority than a second data object of the plurality of data objects if the first data object has fewer other data objects that depend therefrom, the secondary criterion comprising comparing a creation time in the database of two data objects with a same dependency-based priority and ranking an older of the two objects higher than a newer of the two objects, the priority-based sorting determining an order at which the data of each of the plurality of data objects is to be saved from the runtime buffer to the database in the persistent storage; and saving the data associated with the plurality of data objects from the runtime buffer to the database in the persistent storage according to the determined order finalize sequence, finalization and saving of each data object completing before finalization and saving of a next data object in the finalize sequence begins.