Book Image

Data-Centric Applications with Vaadin 8

By : Alejandro Duarte
Book Image

Data-Centric Applications with Vaadin 8

By: Alejandro Duarte

Overview of this book

Vaadin is an open-source Java framework used to build modern user interfaces. Vaadin 8 simplifies application development and improves user experience. The book begins with an overview of the architecture of Vaadin applications and the way you can organize your code in modules.Then it moves to the more advanced topics about advanced topics such as internationalization, authentication, authorization, and database connectivity. The book also teaches you how to implement CRUD views, how to generate printable reports, and how to manage data with lazy loading. By the end of this book you will be able to architect, implement, and deploy stunning Vaadin applications, and have the knowledge to master web development with Vaadin.
Table of Contents (11 chapters)

Integrating JasperReports with Vaadin

JasperReports is an open-source reporting engine to produce reports that can be rendered in a variety of formats, such as HTML, PDF, Microsoft Excel, ODT (OpenOffice), and others. Typically, reports are designed in a visual editor (iReport Designer) or XML files (JRXML). The design is compiled into a Jasper file (*.jasper), filled with data, and exported to the desired format.

DynamicJasper and DynamicReports are two open-source libraries that abstract away the JRXML format and provide APIs to design reports in Java. This is a good match for the philosophy of the Vaadin Framework which allows you to implement HTML-based web applications in Java. In this chapter, we'll use DynamicJasper, but the concepts are similar if you prefer DynamicReports. Some of the concepts can be also used if you plan to design reports in JRXML files directly...