Patent ID: 7971209

Claim:
A non-transitory computer-readable medium containing instructions to configure a processor to perform a method, the method comprising: initiating a call from a first application to a second application by at least sequencing a plurality of messages by sequencing the plurality of messages to be sent to the second application, each message including information identifying the second application; determining whether the first application is local to the second application; making a first call as a local call to the second application bypassing a transaction handler and a message persistence for the sequenced plurality of messages, when the results of the determining indicate the first and second applications are local to the same computer, wherein making the first call as the local call further comprises: making the local call using a hypertext transfer protocol with a predetermined destination having a value of none; and making the local call by calling an application program interface to bypass queuing associated with the first application, to bypass persistence associated with the first application, and to use queuing and persistence associated with the second application; and making a second call as a remote call to the second application, when the results of the determining indicate the first application is on a first computer and the second applications is on a second computer, wherein the first and second computers are separate computers, wherein the remote call uses a hypertext transfer protocol including a location comprising at least one of a uniform resource locator or a uniform resource identifier representative of the second application, wherein the making of the second call further comprises: sending, by the transaction handler to the message persistence, a portion of the sequenced plurality of messages, the portion comprising a logical unit of work, wherein the transaction handler and the message persistence are implemented on the first computer; storing, by the message persistence, the portion comprising a logical unit of work; and scheduling, by a scheduler at the first computer, transmission of the portion to the second application.