DataTables JS is a Jquery plugin to create HTML tables with sorting and paging. No need to code all the table functionalities, just set the data on the JS file and call the Datatables function.
Here’s the main page:
Here’s a server side processing using PHP. Notice that the HTML is reduced to Header and Footer of the table.
Here’s an example on how to use DataTables using JSON and Java.
And here’s a step by step example on how to use DataTables using JSON and Java
DataTables loads all data as retrieved and then it has the option to display it via paging. It does not yet support Server data retrieval by each page click.