Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Powered By Vaadin on Kotlin Join the chat at Heroku

Vaadin Coroutines Demo

Demoes the possibility to use coroutines in a Vaadin 14 app. Please read the Vaadin and Kotlin Coroutines blogpost for explanation of the ideas behind this project.

Uses Karibu-DSL; for more information about the Karibu-DSL framework please see For more information on Vaadin please see Vaadin Tutorial

Online Demo of the Vaadin Coroutines Demo running on Heroku.

Getting Started

To quickly start the app, make sure that you have Java 8 JDK installed. Then, just type this into your terminal:

git clone
cd vaadin-coroutine-demo
./gradlew build appRun

The app will be running on http://localhost:8080/


To compile the entire project, run ./gradlew.

To run the application, run ./gradlew appRun and open http://localhost:8080/.

This will allow you to quickly start the example app and allow you to do some basic modifications. For real development we recommend Intellij IDEA Ultimate, please see below for instructions.

Development with Intellij IDEA Ultimate

The easiest way (and the recommended way) to develop Karibu-DSL-based web applications is to use Intellij IDEA Ultimate. It includes support for launching your project in any servlet container (Tomcat is recommended) and allows you to debug the code, modify the code and hot-redeploy the code into the running Tomcat instance, without having to restart Tomcat.

  1. First, download Tomcat and register it into your Intellij IDEA properly:
  2. Then just open this project in Intellij, simply by selecting File / Open... and click on the build.gradle file. When asked, select "Open as Project".
  3. You can then create a launch configuration which will launch this example app in Tomcat with Intellij: just scroll to the end of this tutorial:
  4. Start your newly created launch configuration in Debug mode. This way, you can modify the code and press Ctrl+F9 to hot-redeploy the code. This only redeploys java code though, to redeploy resources just press Ctrl+F10 and select "Update classes and resources"


A Kotlin Coroutines Demo for the Vaadin Web Framework




No releases published


No packages published
You can’t perform that action at this time.