I have a long job (> 1.5 minutes) and I want to provide the user with completion status using ajax. Here's what I'm doing now: I use ajax to handle the download (with the ajax download plugin), and when I complete the task, I show a busy icon. I want to be able to show the percentage completed (not the percentage of download - I already provide updates for this). Those. after my excel file is uploaded and I start to process the lines, I want to be able to provide status updates to the user.
Here, where my research / personal knowledge led me: 1. Use streams 2. Use JMS or some kind of messaging 3. Use Grail events. (Don't know how this will work)
Does anyone know what would be the best way to implement this?
source
share