

In this tutorial we will see an example of using the Primefaces dataTable that allows loading on demand the data to be displayed in the table.
The solution to this problem is to paginate the list in database showing more data as the user
This approach has the disadvantage that more database-based queries are needed but we are able to bring only the data that is required and as I said before releasing much more memory to the server.
Operating System: Mac OS X Snow Leopard 10.6.4
Among the available attributes of the dataTable those that are important for our example are the lazy and dynamic.
In the example we will draw a list of footballers.In the ManagedBean part we must implement the code responsible for building the dataTable and provide the means for it to reload the





