×

Connection manager capable of supporting both distributed computing sessions and non distributed computing sessions

  • US 7,945,677 B2
  • Filed: 09/06/2005
  • Issued: 05/17/2011
  • Est. Priority Date: 09/06/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • establishing a session between a cluster of application servers and an external client;

    determining that said session is a distributed session, said distributed session involves bi-directional request and response flows;

    establishing a connection, associated with said distributed session, over a shared memory between a connection manager and a worker node, said shared memory, connection manager, and worker node being located within a first application server within said cluster of application servers, said shared memory accessible to multiple worker nodes within said first application server;

    receiving, at said connection manager, a first distributed computing request from a external client over a network;

    sending, from said connection manager to said worker node over said connection, said first distributed computing request containing a first method call to a first worker object, said first worker object instantiated on a virtual machine within said worker node, said first worker object being a communication endpoint between said first worker object and said external client;

    preparing a first response to said first distributed computing request on said virtual machine within said worker node;

    sending said first response from said worker node to said connection manager through said connection; and

    ,sending, from said connection manager, said first response to said first external client;

    receiving, at said connection manager, a second distributed computing request from said external client over said network;

    sending, from said connection manager to said worker node over said connection, said second distributed computing request containing a second method call to a second worker object, said second worker object instantiated on said virtual machine, said second worker object being a communication endpoint between said second worker object and said external client;

    preparing a second response to said second distributed computing request on said virtual machine within said worker node;

    sending said second response from said worker node to said connection manager through said connection;

    sending, from said connection manager, said second response to said external clientestablishing a second session between said cluster of application servers and a second external client;

    determining that said second session is a non-distributed session;

    establishing a second connection, associated with said non-distributed session, over said shared memory between said connection manager and said worker node;

    sending, from said connection manager to said worker node through said second connection, a non distributed computing request containing a command for an application that is instantiated on said virtual machine of said worker node; and

    ,tearing down said second connection in response to said worker node having responded to said non distributed computing request.

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