1. A computer-implemented method for managing transactions comprising: receiving, at a transaction manager, an indication that an operation is to be executed within a transaction; enclosing the operation within a preexisting transaction context, if the preexisting transaction context is available; opening a new transaction context for the operation, if the preexisting transaction context is not available; and completing the transaction context after the operation is executed.