Consuming rest services in Vaadin 8

Using REST services has really struck though during the last couple of years. They often act as a "public API" for third-party solutions like mobile apps or as a "persistence layer" for client-side web apps (GWT, Angular etc.). Java is probably the most common platform for providing REST services, ...

jUnit5 basics for testing Vaadin Flow apps

In this tutorial, we will learn a few basics about jUnit5 that are needed for testing web apps. Download base project You can find the latest version of the source code for this tutorial @github jUnit5 - project preparations jUnit5 has been available for a long time now and production ready. ...

How to use jUnit extensions to test Vaadin Flow apps

In this tutorial, you will learn how to implement a jUnit 5 extension that is used for testing a Vaadin application with TestBench. Download base project This tutorial uses the flow-helloworld-maven-meecrowave as a base. You can find the latest version of the source code for this tutorial @github ...
Vaadin logo image

Using a WebAssembly Module with Vaadin Flow

Utilizing WebAssembly modules (WASM) increase the performance and efficiency of a web application. With Vaadin Flow, loading a WASM can be as simple as writing the proper fetch statement in one of your Polymer templates. Flow also allows developers to easily control the use of these modules from ...

CSS Encapsulation with Shadow DOM

The Global Problem The global scope of CSS can be problematic for many reasons. Every CSS rule we define has the potential to have wide-ranging and often unintended side effects. In other cases, a rule may have no effect due to conflicts with global styles. As applications increase in scale and ...