Patent ID: 6973657

Claim:
A computer-implemented method for optimizing transactional behavior of a middle-tier server between a client application and a database-tier server, the method comprising: a middle-tier server remote from a client application creating a transaction policy on the middle-tier server by translating a deployment descriptor file; a database-tier server remote from the client application creating a transaction policy on the database-tier server by translating the deployment descriptor file; the client application calling a CORBA method, wherein the client resides on a system local to the client, wherein the CORBA method resides on a database-tier server remote from the client, and wherein the call comprises an Internet Inter-ORB Protocol (“IIOP”) message sent on a path to the CORBA method on a database-tier server wherein the IIOP message includes a method name for the CORBA method called; an interceptor residing on the middle-tier server intercepting the IIOP message; the interceptor residing on the middle-tier server checking the transaction policy for the tier status of the server; the interceptor residing on the middle-tier server returning the IIOP message to its path towards the CORBA method without completing a control object interpositioning process; an interceptor residing on the database-tier server intercepting the IIOP message after it has passed through the middle-tier server; the interceptor residing on the database-tier server checking the transaction policy for the tier status of the server; the interceptor residing on the database-tier server checking the transaction policy for the database-tier server with respect to the method name; the interceptor residing on the database-tier server either invoking the called CORBA method directly or first completing a control object interpositioning process between the object representing the transaction context and an Object Transaction Service spanning both the system local to the client and the database-tier server and then invoking the called CORBA method where the choice is defined by the results of the check of the transaction policy with respect to the method name.