What is the best way to implement some kind of progress indicator in Play?
I have a simple import page where the user can upload a csv file. The server is then doing some lenghty processing until the import is complete. I would like to redirect the user to a separate page after uploading and give him some continuing feedback on this page รก la "150 of 856 datasets imported".
The upload action triggers a controller method which could start the time consuming task in its own thread, but how do I get the status of the job with an ajax call from another page (since play doesn't have any kind of state between requests)?