• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Looking for JSF Ajax component (or advice how to implement it).

 
Markus Schmider
Ranch Hand
Posts: 128
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks,

Hans
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic