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)

Connecting to SQL Databases Using ORM Frameworks

The Vaadin Framework is a web framework—a library, if you wish, that helps with web development. You, as a developer, have the opportunity to integrate it with any other Java technology, and in particular, with any persistence technology. Since the most popular technology for persisting data is SQL, this chapter is dedicated to exploring several alternatives to connecting to SQL databases from Vaadin applications.

We will start by studying the concept of object-relational mapping, a technique that allows developers to use an object-oriented programming language to consume and manipulate data in an otherwise incompatible system. We'll then move on to explore three of the most popular Java frameworks used to connect to SQL databases: JPA, MyBatis, and jOOQ. These technologies are widely used in the industry, and it&apos...