This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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.
Consider Paul's rocket mass heater.
subject: valuelist and jsf