Hello Ranchers!
Your valuable inputs/suggestions are required again. For a requirement in our
J2EE based application, we need to implement 'variable time-out' functionality. Let me elaborate on that first -
The application is deployed in WebLogic 9.1 application server. For processing the incoming request, the application may select different algorithms which involve calls to multiple enterprise systems/dbs etc. Each call may take different time to return back. What is required to be implemented here is a functionality which would be able to detect that a particular call is taking _more than_ the normal (thresholds are calculated and need to be configured for each external system call) time and the application should be able to detect this condition. The processing should time-out instantly once the threshold is crossed.
Can anybody please suggest how this can be achieved using
Java?
TIA,
Steve