Patent ID: 7080120

Claim:
A system for collaborative processing with distributed applications, comprising: at least one application context in which an application is executed, the application context including an application CGI for managing the application, and a communication interface on which application data is communicated as messages; a messaging bus configured to communicate the messages for processing by the application; at least one gateway context including a gateway CGI configured for maintaining two-way asynchronous communication between the messaging bus and a remote application through a firewall, said remote application being executed by a client, the gateway CGI configured to maintain the two-way asynchronous communication until termination by the remote application or by the gateway CGI; and a web server, said web server configured to establish one socket connection with said client through said firewall and configured to initialize the gateway CGI after receiving an HTTP request to initialize the gateway CGI from said remote application over said one socket connection during a single HTTP transaction with the remote application; wherein the gateway CGI is configured to perform operations to enable said two-way asynchronous communication between said messaging bus and said remote application to occur within the single HTTP transaction and over said one socket connection.