×

Method for native program to inherit same transaction context when invoked by primary program running in separate environment

  • US 9,760,583 B2
  • Filed: 05/03/2013
  • Issued: 09/12/2017
  • Est. Priority Date: 06/30/2011
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for a native application to inherit a transaction context when invoked by a primary application running in a separate hosting environment, comprising:

  • receiving an invocation of the native application to run at a native application server in a first hosting environment separate from a second hosting environment, the invocation initiated by the primary application running at a primary application server in the second hosting environment;

    in response to the invocation, receive, by a query transceiver at the native application server, a unique transaction context identifier for the invocation, wherein the unique transaction context identifier is generated in the primary application server when a transaction context is established;

    in response to encountering a query statement embedded in the native application during the execution of the native application, send the query statement from the native application to the query transceiver at the native application server;

    send the query statement and the unique transaction context identifier from the query transceiver to the primary application server for execution on a database by the primary application server, wherein the database resides on the primary application server;

    receive, by the query transceiver, a result of the execution of the query statement and the unique transaction context identifier from the primary application server;

    send, by the query transceiver, the result to the native application; and

    wherein, the query statement embedded in the native application is executed on the database on the primary application server and the execution of the native application at the native application server in the first hosting environment are performed sharing the same database connection, and without modifying the native application, by passing the unique transaction context identifier along with the query statement, and passing the unique transaction context identifier along with the result of the execution of the query statement.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×