O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Grails ORM for Vaadin application

We will create a simple application that will have access to the database. In the database, there will be one entity, User. A visitor of our application will see the list of the users fetched from the database (it is going to be two women's names, Sara and Ester).

Using Grails ORM for Vaadin application

How to do it…

Carry out the following steps in order to connect a Vaadin application with the database in a Grails environment:

  1. First, we need to make a new domain class named User. This class will be placed inside the domain folder.
    How to do it…
  2. A new dialog window ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required