I have a JSF 2 / Primefaces / JBoss application that starts some long-term processes from time to time. The specification states that after the process has started, its monitoring should be monitored, showing the presence of intermediate phases.
The total number of steps is extracted at the beginning, and the progress bar should show the evolution of the process and an estimate of the remaining time based on statistics calculated during the execution of the process. This not only shows that something is happening, but actually shows how much remains to be done.
Even if the user closes the page, the process must continue, and if the user returns to the page, he must show the current status of the process. If the process has already been completed, you need to provide some information, for example, the number of processed objects and the total time and some other statistics, such as the object that took more time to process.
How to do this in the JSF 2 / Primefaces / JBoss app?
source
share