Patent ID: 8055821

Claim:
An apparatus to convert a synchronous interface into an asynchronous interface, the apparatus comprising: a receive module comprising executable code stored on a storage device, executed by a processor, and configured to receive a request for a transaction from a synchronous requestor; a generate module comprising executable code stored on the storage device, executed by the processor, and configured to generate a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA® IOU data class and performs a standby( ) operation indicating that the transaction is in process; and a return module comprising executable code stored on the storage device, executed by the processor, and configured to return the delaying object with the forwarding interface to the requestor; a satisfy module comprising executable code stored on the storage device, executed by the processor, and configured to satisfy the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion; a notification module comprising executable code stored on the storage device, executed by the processor, and configured to notify the synchronous requestor via the delaying object when the transaction is available for completion; and an initiation module comprising executable code stored on the storage device, executed by the processor, and configured to initiate a second request for the transaction via the delaying object when the transaction is available for completion.