I've a question about progressnotification.
I have a standalone java client app which should invoke an long running calculation on an enterprise java bean. The calculation is realy heavy work which will take maybe hours. While work is in progress I want to show some kind of progressbar in the app client, which updates to the current state every 10 seconds or so.
How can I implement such a cenario? Do I need a message queue and the calculator bean posts its current state into it and the clients reads the current state out of it? Or is there a type of listener I can use?
I want to implement this cenario with EJB3.
The rich:progressBar can be used to show a status. There is an example of the server side in the example app.