JEE 5 and JSF 2.0
I have a web application which has to communicate asynchonously with the EJB layer.
One jsf page sends large data files to the EJB layer via JMS. The EJB layer processes it and periodically sends back JMS messages about the progress to a managed bean (ProgressReceiverBean).
This part is working.
Now I am looking for an AJAX component (perhaps a progress bar) which continously reads a property of the ProgressReceiverBean and displays it.
Any tips where to find such a component?
JSF2 includes AJAX support. Some day I'll even get around to learning how to use it.
The JBoss RichFaces extension tagset has extensive AJAX support, including a "polling" tag that should be made to order for you. Just set up polling and include a reRender that references the control that displays the property you want to keep updated.
You can probably find other solutions as well, but these are the ones I'm most knowledgeable about.
An IDE is no substitute for an Intelligent Developer.