Systems, methods and computer program products for handling client requests for server application processing using a thread pool
AssigneeInternational Business Machines Corporation
InventorsElias Bayeh, Lin Davis
Life of this patent
Estimating the term…
Abstract
Systems, methods and computer program products are provided for handling client requests for server application processing wherein a connection between a client and server is transferred to a servlet. A client request from a server is transferred to a servlet via a server thread. The server thread is then returned to the server, thereby leaving an open connection with the requesting client. The open client connection is then retrieved and maintained by the servlet. Upon receiving the transferred client request, the servlet processes the client request and then sends processing results directly to the client via the retrieved connection.
Claims22
A method of handling a client request to a server for server application processing, the method comprising the steps of:
- allocating a server thread from a pool of available server threads to process the client request;
- transferring the client request from the allocated server thread to a server application;
- returning the allocated server thread to the pool of available server threads;
- and
- retrieving an open two-way connection resulting from returning the server~thread to the pool of available server threads so as to transfer the two-way connection to the server application, wherein the transferred two-way connection allows requests and responses directly between the client and the server application independently of the returned server thread.
A method of handling a client request to a server for server application processing, the method comprising the steps of:
- allocating a server thread from a pool of available server threads to process the client request;
- transferring the client request from the allocated server thread to a server application;
- returning the allocated server thread to the pool of available server threads, thereby leaving an open two-way connection with the requesting client;
- retrieving the open two-way client connection and maintaining the two-way connection between the client and the server application, wherein the retrieved two-way connection allows requests and responses directly between the client and the server application independently of the returned server thread;
- responsive to receiving the transferred client request, processing the client request via the server application;
- and
- sending results from the server application processing to the client from the server application via the retrieved two-way connection independently of the returned server thread.
A method of making a client request for server application processing to a server, the method comprising the steps of:
- allocating a server thread from a pool of available server threads to process the client request;
- transferring the client request from the allocated server thread to a server for server application processing;
- returning the allocated server thread to the pool of available server threads;
- retrieving an open two-way connection resulting from returning the server thread to the pool of available server threads so as to transfer the two-way connection to the server application, wherein the transferred two-way connection allows requests and responses directly between the client and the server application independently of the returned server
- receiving processing results from a server application via the two-way connection retrieved from the server.
A system for handling a client request to a server for server application processing, comprising:
- means for allocating a server thread from a pool of available server threads to process the client request;
- means for transferring the client request from the allocated server thread to a server application;
- means for returning the allocated server thread to the pool of available server threads, thereby leaving an open two-way connection with the requesting client;
- means for retrieving the open two-way client connection and maintaining the two-way connection between the client and the server application, wherein the retrieved two-way connection allows requests and responses directly between the client and the server application independently of the returned server thread;
- responsive to receiving the transferred client request, means for processing the client request via the server application;
- and
- means for sending results from the server application processing directly to the client from the server application via the retrieved two-way connection independently of the returned server thread.
A computer program product for handling a client request to a server for server application processing, the computer program product comprising a
- computer usable storage medium having computer readable program code means embodied in the medium, the computer readable program code means comprising:
- computer-readable program code means for allocating a server thread from a pool of available server threads to process the client request;
- computer readable program code means for transferring the client request from the allocated server thread to a server application;
- computer readable program code means for returning the allocated server thread to the pool of available server threads, thereby leaving an open two-way connection with the requesting client;
- computer readable program code means for retrieving the open two-way client connection and maintaining the two-way connection between the client and the server application, wherein the retrieved two-way connection allows requests and responses directly between the client and the server application independently of the returned server thread;
- responsive to receiving the transferred client request, computer readable program code means for processing the client request via the server application;
- and
- computer readable program code means for sending results from the server application processing directly to the client from the server application via the retrieved two-way connection independently of the returned server thread.
Dependencies are inferred from the claim text.