Hi,
I want to implement a retry functionality in my
struts based application whenever the request failed or during exception encountered in system.
In Spring framework, we can use annotation @RetryOnFailure, like below
But I'm not sure about struts based application.
I want to prepare a component so that I can use through out my web application wherever it is required and expected to through exceptions like DB Connection, Documentum Server connection, and especially failed to download attachment(based on documentum code) with Documentum server.
My only worry is in single threaded environment, for instance, when user try to download an attachment and it failed, if i put retry functionality here(say after few minutes) then my browser will still be loading and loading, waiting for retry waiting time to be elapsed before server request again. Now can you please advice how to handle such situation such that retry happens parallely in different
thread.
Is there any third party tool to be used for retry functionality.
I'm using web logic application server here with JDK 1.6.
Thank you