SYSTEM AND METHOD FOR PREVENTING TIMEOUT OF A CLIENT
First Claim
Patent Images
1. A server system for preventing time out, comprising:
- a first thread executing in said server system, said first thread comprising a client interface for interfacing to a client of said server system;
a second thread executing in said server system, said second thread comprising a server application for servicing a first request by said client, wherein said client automatically times out if a response to said request is not received in said client within a pre-determined time-out period;
a task status object accessed by said server application to post completion state of said server application and by said client interface responsive to receiving a state refresh request from said client to post a state refresh response; and
wherein, responsive to receiving a state refresh request from said client, said client interface transmits a state refresh response to said client, said state refresh response comprising a completion state of said server application in generating a response to said first request and selectively including a refresh attribute instructing said client to post said state refresh request again before expiration of said pre-determined time-out period, wherein posting said state refresh request by said client responsive to said refresh attribute prevents time-out in said client, said refresh attribute being selectively included when said server application has not completed generating a response to said first request.
0 Assignments
0 Petitions
Accused Products
Abstract
A system for preventing timeout of a client interface accessing a main Java Servlet executing in a first thread which monitors an application executing in a second thread. A task status object is accessed by the application to post its completion state and by the client interface responsive to a state refresh request to post a state refresh response including the completion state to the client. The state refresh response selectively includes a refresh attribute instructing the client to periodically post the state refresh request. Upon the application going to completion or error state, subsequent state refresh responses do not include the refresh attribute.
17 Citations
5 Claims
-
1. A server system for preventing time out, comprising:
-
a first thread executing in said server system, said first thread comprising a client interface for interfacing to a client of said server system;
a second thread executing in said server system, said second thread comprising a server application for servicing a first request by said client, wherein said client automatically times out if a response to said request is not received in said client within a pre-determined time-out period;
a task status object accessed by said server application to post completion state of said server application and by said client interface responsive to receiving a state refresh request from said client to post a state refresh response; and
wherein, responsive to receiving a state refresh request from said client, said client interface transmits a state refresh response to said client, said state refresh response comprising a completion state of said server application in generating a response to said first request and selectively including a refresh attribute instructing said client to post said state refresh request again before expiration of said pre-determined time-out period, wherein posting said state refresh request by said client responsive to said refresh attribute prevents time-out in said client, said refresh attribute being selectively included when said server application has not completed generating a response to said first request. - View Dependent Claims (2, 3, 4, 5)
-
Specification