Vaadin Releases Version 8 of Their Polyglot Framework

| by Michael Redlich Follow 10 Followers on Mar 26, 2017. Estimated reading time: 2 minutes |

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

Four years since the release of version 7, Vaadin released version 8 of their polyglot framework for building web apps with UI components. Vaadin 8 features 21 improvements that include:

  • Typesafe Java APIs:
    • Improvements to Vaadin:
      • Components
      • Validators
      • Grid
      • Exception messages
    • A new ItemCaptionGenerator
    • Typesafe lambda expressions
  • Improved Defaults:
    • Null values
    • Ordered layouts
  • Improved Performance:
    • Less overhead for in-memory data sets
    • Less CPU required for large data sets
  • Built for the Future:
    • Drop support for older Java versions and Servlet specifications
    • Drop support for legacy browsers

Example - Difference Between Version 7 and 8

The following grid contains typesafe lambda expressions that demonstrate one of the simplifications from Vaadin version 7 to version 8:

Version 7: Version 8:
Grid grid = new Grid();
    new BeanItemContainer<>(persons));
    .setHeaderCaption("First Name");


Grid<Person> grid = new Grid<>();
    .setCaption("First Name");
    .setCaption("Last Name");


Note the elimination of wrapping data in a container in version 8. The Vaadin Container interface has been removed from the API.

Vaadin also updated the Creating CRUD UI with Vaadin example (located in Spring Guides) for Vaadin 8.

Getting Started

The following command, using Maven, initiates an application build:

mvn -B archetype:generate -DarchetypeGroupId=com.vaadin
-DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=8.0.4
-DgroupId=org.test -DartifactId=vaadin-app -Dversion=1.0-SNAPSHOT
&& cd vaadin-app && mvn package jetty:run

This will create a simple single-module example application (as specified in -DarchetypeArtifactId), create a subfolder (as specified in -DartifactID), change directory to it, launch an instance of Jetty, and run the application as as shown below:

For a more complex multi-module example application, simply substitute the value, vaadin-archtype-application-example, in -DarchetypeArtifactId.

In the Vaadin 8 release statement Matti Tahvonen, product marketing manager at Vaadin, discussed upcoming near-term goals:

Although Vaadin 8.0.0 brings in a lot of nice enhancements, it is also a basis for further enhancements. Dropping support for old JDK versions and unmaintained Internet Explorers, we’ll be able to deliver new things much faster. In the next minor release, scheduled already for April, we’ll add often requested hierarchy, drag and drop and component support to the Grid component.


Naturally we’ll also continue our regular bugfix releases, so in case you face “.0 bugs,” report them right away via GitHub.


Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you