April 2018
Intermediate to advanced
202 pages
4h 48m
English
HTML is the best option to render a report in a browser. However, JasperReports and DynamicJasper support many other formats. These formats are available as implementations of the JRExporter interface. One of them is the JRPdfExporter class. The example application includes the LastHourCallReport class, which, in contrast to previous report implementations, is not a Vaadin UI component. Since we want to allow users to download this report, we don't really need a UI component for it. Instead, LastHourCallReport is a helper class that configures the report, exports it as a PDF, and exposes the content of the file through an OutputStream suitable for the FileDownloader class, part of Vaadin Framework.
Omitting the ...
Read now
Unlock full access