you can user JasperReports for report generator. its an open source reporting engine. It is simple to use and more mature than any other open source reporting engine. JasperReports can generate reports in PDF,CSV,XLS,XML,HTML,RTF formats. Visit http://jasperreports.sourceforge.net/ for more details.