I am trying to figure out how to run reports on our application server using the vaadin application. Here is what I want to do, but I am having a little trouble visualizing how to do it.
- The user will be prompted for the report parameters and where they want to send the report. One of those destination options is to generate a PDF which will be involved later
- Once the job has been submited, I want to free up the client to do other things. The job will be submitted to the application server via web services.
- When then job is done, I want to notify the user of that fact, using a toolbar notification. Also if the user wanted to generate a PDF that will need to be downloaded to the client.
I have no problem with the making the calls to the web services, and I know I will need to make use of the server push function. The notification should also be easy. What I am having a problem with is how to handle the PDF in an asynchronize mode. I am doing it currently in a synchonize mode with no problem.
Any suggesion would be appreciated.
Thank you