Discovering hostname in Vaadin

Have you ever needed to know where your application is being run? Like the typical localhost:8080 or vaadin-form-example.demo.vaadin.com? As you likely know, Vaadin allows you to build web applications in Java, and the UI runs on the server-side JVM environment. Compared to client-side frameworks, ...
OpenID Connect authentication & Vaadin - An integration example using Quarkus

OpenID Connect authentication & Vaadin - An integration example using Quarkus

This blog post discusses the advantages of using OpenID Connect (OIDC) for handling authentication in web applications. It also provides an example of integrating OIDC with Vaadin using Quarkus, emphasizing the importance of security libraries and best practices when working with OIDC. OpenID ...
Building Java API for JavaScript libraries - The lightweight approach

Building Java API for JavaScript libraries - The lightweight approach

Many Vaadin add-ons are wrappers around existing JavaScript libraries or components. The tooling and documentation in Vaadin are primarily targeted for the optimal case, where the wrapped component is a Web Component. The huge rewrite of the framework in version 10 was done largely to optimize this ...
Learn how to tackle HTTP range requests in Java web apps.

Efficiently serving video files in Java web apps with HTTP range requests

Streaming video and audio content has become essential to modern web applications, providing users with an engaging and interactive experience. HTTP range requests are crucial to delivering these media files efficiently. Range requests allow for seeking within video and audio files, enhancing the ...
Liukuri is a web app built with Vaadin to help navigate electricity price fluctuations in Finland during the current energy crisis.

Built with Vaadin: Navigating changing electricity prices in Finland with Liukuri

Liukuri is a web app visualizing the current electricity prices and sources inspired by exceptionally high electricity prices in 2022. In addition, it also features an electricity cost calculator with which you can determine how much your electricity consumption in Finland has cost based on actual ...
Five tips for optimizing memory usage in your Vaadin application

5 tips for optimizing memory usage in your Vaadin application

In my recent blog post, where I showed you how to estimate or measure the memory consumption of your Java application, I promised to provide some simple tips for optimizing your application’s memory usage. Some of the following tips are Vaadin-specific, while others are applicable to JVM services ...
How many users can you host per node?

How many users can you host per node with Vaadin Flow? Let’s do the math!

Servlet session size has been a myth for ages. Many Java developers tend to religiously avoid storing anything in session because somebody at Google said that shouldn’t be done. With Vaadin Flow, that is the root of all goodness. The pure Java development model, the productivity, and the simplicity ...

Simplified Theming in Vaadin 24

Vaadin 24 introduces a simplified approach to styling Vaadin components based on the ::part() selector. It removes the need for component-specific stylesheets, simplifies many common use cases, and is fully based on native CSS. New theming documentation, including CSS selector references for ...
Kotlin and Vaadin

Kotlin and Vaadin for productive and fun web app development

Kotlin is a programming language that has gained much popularity over the last few years. Its concise and expressive syntax feels liberating compared to the verbosity of Java. Vaadin supports the Kotlin programming language through the Karibu-DSL library, which contains various extensions to use ...