Returning a 30K table as an HTML table in one single request will  
actually have pretty poor rendering time in the browser.  Some  
browsers (I don't know about IE) will not render a table until they  
hit the </table> tag so that they don't have to re-flow it.  We have  
some pages at work that show 3-5K rows regularly (yes, it is useful  
sometimes), but they are already pretty slow to display (counting  
from when the data starts leaving the server and going to the client).

I think if you want a snappy solution you'll have to do what others  
have recommended: send the first X rows down and then use AJAX to  
dynamically load the rest either on-demand, or simply sequentially  
after the page loads.  Probably using JSON would lead to more compact  
representation and faster parsing the JS layer as opposed to XML, but  
I'm not sure how big a different that would make.

-t

On Jul 21, 2008, at 10:16 AM, Lionel wrote:

> Ken wrote:
>> I need to render about 30,000
>> rows without pagination into a scrollable table with sorting
>> capabilities.  Right now it is set up so that the browser (IE) does
>> all of the work using xml.  What would be my best way if I wanted to
>> use hibernate(caching blah blah I got that taken care of) and stripes
>> (Streaming JSON or JavaScriptRes) back to the client so that the list
>> will be ready the fastest.
>
> Do you really need to use javascript to parse data ?
> A basic html table in a jsp with server sort will work way faster.
> You should try display tag.
>
>
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to