posted 20 years ago
I am interested in creating asynchronous messages in order to create large reports that a user requests, but for which the user is unwilling to wait. In other words, small reports will be generated on-the-fly and returned to the user's browser, but large reports will be processed in the background and selected for viewing via the browser once the processing has been completed. My question is this: how does one monitor such asynchronous processing? In other words, if I want the application to tell the user how much of the report has been processed so far (i.e. 10%, 50%, 90%, etc), so that the user has a rough idea of how much longer they have to wait to view the report, how does one do this via JMS and Message-Driven Beans? Any feedback is appreciated. Thanks.