About the report-ui category

report-ui: Report UI Add-on provides an easy way to render JasperReports in Vaadin applications through DynamicJasper.

Basic usage

Say, you have the following domain/entity/Java Bean class:

public class Call {

    private Long id;
    private String client;
    private String phoneNumber;
    private City city; // enum
    private LocalDateTime startTime;
    private Integer duration;
    private Status status; // enum

    ... getters and setters ...
}

You can create a new report and add it to any Vaadin layout as follows:

PrintPreviewReport<Call> report = new PrintPreviewReport<>(Call.class);
report.setItems(Repository.findAll());
layout.addComponent(report);

See more examples at GitHub - alejandro-du/report-ui: Generate Jasper Reports from your entities/beans/POJOs.