File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 105
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: 16141
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking for JSF Ajax component (or advice how to implement it).