Patent ID: 7716339

Claim:
A computer-implemented method of discretizing a data stream received from a client via a persistent communication connection into a web application at an application server, the method comprising: establishing a persistent communication connection using a persistent communication protocol between the application server and the client, wherein the persistent communication connection is configured to transmit a continuous data stream of bytes from the client, and wherein the web application in the application server uses a non-persistent communication protocol; receiving the continuous data stream of bytes from the client via the persistent communication connection at the application server; buffering a first set of bytes from the received continuous data stream of bytes at the application server; determining whether the first set of bytes comprises an event at the application server; if the first set of bytes comprises the event, determining whether the event must be processed by the web application; and if the event must be processed by the web application, translating the continuous data stream of bytes at the application server by: separating or discretizing the continuous data stream of bytes; generating a first application request that complies with the non-persistent communication protocol from the continuous data stream of bytes; and forwarding the first application request to the web application in the application server.