Thanks for the nice example Gavin.
Little sidenote for scaleablity and for the additional use of the Tomahawk Data 
Scroller component: in order to reduce the heat and the overhead for very large 
datasets I'd implement the sort() functionality not in the java code but in the 
EJBQL (means to "dynamicly" modify the querystring with some "if"'s based on 
the selected way of sorting and pagination).
If you want to display all results on one page without the Data Scoller 
component it is not so important because you need to fetch all the data from 
the DB anyways but as soon as you have some 500,000+ datarows and use the Data 
Scroller to only see the 50 records on page 132 sorted by colum XY in an 
ascending order this is going to be a pain if its done in-code and not with 
EJBQL in the DB.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935188#3935188

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935188


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to