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?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton