It's not a secret anymore!*
The moose likes JSF and the fly likes Looking for JSF Ajax component (or advice how to implement it). Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Looking for JSF Ajax component (or advice how to implement it)." Watch "Looking for JSF Ajax component (or advice how to implement it)." New topic
Author

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

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 100
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

Joined: Jun 25, 2001
Posts: 15962
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Consider Paul's rocket mass heater.
 
subject: Looking for JSF Ajax component (or advice how to implement it).
 
Similar Threads
jsp (jsf) & UML Class Diagram
File upload componet with progress bar?
I want to rapid development and need to choose frame work (Discussion about choosing frame work)
newbie question: please help with scja exam question
JSF integration to Spring model layer