Extended Data Model - Eclectic Programmer :: Entries :: Sorting and paginating in the database with Richfaces