Patent ID: 7774780

Claim:
A system to provide automatic retry of transactions, comprising: one or more processors; an application component deployed in a container, wherein the application component includes a plurality of methods, wherein each said method is associated with separate one or more retry criteria, and wherein, at least, a first one or more retry criteria associated with a first said method is different from a second one or more retry criteria associated with a second said method; wherein the container performs the steps of: starting a first transaction to perform one or more operations for the application component, when the first said method is invoked; rolling back the first transaction when the first transaction fails; restarting a new first transaction automatically and retrying the first said method for a first number of times, until the first one or more retry criteria associated with the first method are met, starting a second transaction to perform one or more operations for the application component, when the second said method is invoked; rolling back the second transaction when the second transaction fails; and restarting a new second transaction automatically and retrying the second said method for a second number of times, until the second one or more retry criteria associated with the second method are met.