• Hibernate's table generator optimizers

    Using a database table to keep track of the next identifiers to assign works in all SQL implementations, but comes at a performance cost. Here we take a look at what Hibernate does to alleviate this issue.

    03 Apr 2022 - Erik Lumme

  • Dynamic theming in Vaadin Flow

    Whether for multi-tenancy or user preference, the need to dynamically change the theming of an application is a common business application need. In this post, we show how it’s done using CSS custom properties and HTML attributes.

    15 Jun 2021 - Erik Lumme

  • Using Playwright and Junit to write end-to-end tests for your Vaadin application

    Microsoft recently released a Java API for Playwright, their cross-browser web-automation library. Playwright automatically downloads and updates web drivers, making set-up a breeze and keeping the drivers ever green. In this post, we take a look at how it can be utilized for testing a Vaadin application.

    15 Apr 2021 - Erik Lumme

  • How to Write a Simple Stock Tracker with Vaadin 15 Using Java and TypeScript

    Vaadin 15 adds the option to enhance your Java application with views written in TypeScript, without the need for a server-side state.

    This post will guide you through creating a simple stock tracker application, saving your favorite stocks to the server and using the Financial Modeling Prep API to get up-to-date information about them.

    07 May 2020 - Erik Lumme

  • Simple Access Control in Vaadin

    Some things are best kept secret. This goes for data too. In this tutorial, you will learn how to implement a simple access-control system using plain Vaadin and Java.

    30 Jan 2020 - Erik Lumme

About me

Erik Lumme

I'm Erik Lumme, and this is where I write about writing code.

Here you'll find things I've come up with while working with Java and the web.