An apparatus, method and
computer program product for emulating a persistent connection using http. According to one embodiment, the method includes receiving an empty get from a first
client; receiving a get from a second
client, the get containing data to be sent to the first
client; and sending a response to the first client, in response to the empty get, the response containing the data. According to another embodiment, the method includes receiving, from a client, a get containing first data to be sent to an
application server; sending the first data to the
application server; sending an ack response to the client in response to the get; receiving a response from the
application server, the response containing second data to be sent to the client; waiting for an empty get from the client; receiving an empty get from the client; and sending the second data to the client in response to the empty get. According to another embodiment, the method includes receiving, from a client, a get containing first data to be sent to an application
server; sending the first data to the application
server; sending an ack response to the client in response to the get; receiving an empty get from the client; receiving a response from the application
server, the response containing second data to be sent to the client; and sending the second data to the client in response to the empty get.