For some reason I can't find on google a solution for this. I have an option in a web app to upload a large amount of data (in a file) and through back-end processing (we use Java/Spring) to store this. It takes like 5 minutes. Does anybody know of a way that a user can launch this process and do other things and when it's done to inform the user?
A solution that I'm thinking about (not sure if there are better once, that's why I'm here) is to make an AJAX call (we happen to use the jQuery library) which will pass the file to a controller, then while the controller will be processing the file it will periodically send something small to the stream so that timeout doesn't happen and then once it's finished it will inform about that the web app upon which it will inform the user.