permaculture playing cards
The moose likes JSF and the fly likes valuelist and jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "valuelist and jsf" Watch "valuelist and jsf" New topic

valuelist and jsf

Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
I trying to display large volume of search results (1000-3000 rows) on my JSF page. And here are my options:-

1.DisplayTag and JSF
DisplayTag is a popular candidate. Matt Raible has posted an example of JSF-DisplayTag integration. But I read somewhere that the performance degrades and the page takes more than 40 seconds to load when there are more than 2000 search results. It makes sense, as the search results are stored in the session in this approach.

2.ValueListHandlerTag and JSF
This tag uses the ValueListHandler J2EE pattern. But I could not find any examples of how to integrete this with JSF. Has any one tried this before?

3.Custom JSF Compoenent
Similar to the option above. Except that it would involve me writing a custom jsf component that uses the ValueListHandler pattern (call a stateful session bean to fetch the rows for the current page).

4.MyFaces DataTable
Havn't used this before. Is it any good?

So, these are the options I have. Any suggestions..

MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
Oh, I read that Display Tag 1.1 supports valuelisthandler pattern. but I am yet to see any examples using that.
I agree. Here's the link:
subject: valuelist and jsf
jQuery in Action, 3rd edition