Originally posted by Bear Bibeault:
In our system we have some reports that take a long time to generate. When such a report is requested, we fire off the processing in a background process and return back to a page that tells the user that the report is being processed. When it is finished we send an email that notifies the user that the report is ready, but we do not send the report as an attachment. Rather, we provide an in-app "reports inbox" that they can visit to download the report through the browser. This inbox also shows the list of reports that are "in progress" so that they can keep tabs on what's going on.
I guess what I'm looking for is what kind of "background process" is that? Is it a thread within Tomcat?
I guess what I'm looking for is what kind of "background process" is that? Is it a thread within Tomcat? A cronjob written in Java? An EJB? POJO?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I can't take it! You are too smart for me! Here is the tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|