DataExporter is handy for exporting data listed using a PrimeFaces DataTable to various formats such as Excel, PDF, CSV and XML.