Blog:

Spring boot, angular and JWT authentication

In preparation for a potential customer project, I had to refresh my knowledge of Angular. The best way to do that is to create a small demo application. I used Angular 15 with Spring Boot 3 and JWT to secure the REST API. Often an authorization server like Keycloak is used for authorization and token generation. However, I tried to keep the example as simple as possible and generate the JWT as part of the application.

In preparation for a potential customer project, I had to refresh my knowledge of Angular. The best way to do that is to create a small demo .....

19.01.2023

Vaadin Keycloak OAuth2 Integration

Keycloak is an open source identity and access management solution. This article shows how to configure Vaadin and Spring Security to use OAuth2 with Keycloak.

Keycloak is an open source identity and access management solution. This article shows how to configure Vaadin and Spring Security to use OAuth2 with .....

21.11.2022

Automate Docker with GitOps & Portainer

GitOps is a branch of DevOps that focuses on using git repositories to manage infrastructure and application code deployments. The main difference between the two is that in GitOps, the git repository is the source of truth for the deployment state, while in DevOps, it is the application or server configuration files.

GitOps is a branch of DevOps that focuses on using git repositories to manage infrastructure and application code deployments. The main difference .....

13.10.2022

Build Secure Web Apps with Vaadin & Spring Boot

Almost all web application frameworks include their security-relevant functions and provide the respective interfaces to external security solutions. As a Java-based full-stack framework, Vaadin is compatible with the most popular Java security solutions.

Almost all web application frameworks include their security-relevant functions and provide the respective interfaces to external security solutions. .....

03.10.2022

Level Up Your Vaadin Apps with Vaadin Editable Grid

Vaadin has a fantastic Grid component that also can be made editable. But the configuration of the behavior, especially if you want to use the UI with the keyboard, can be complicated. In this blog post, I show you how this can be achieved.

Vaadin has a fantastic Grid component that also can be made editable. But the configuration of the behavior, especially if you want to use the UI with.....

23.09.2022

Beyond Angular and React: Building Web Apps with Vaadin

Single-page web applications have today practically become standard. Angular, React, and Vue.js are the best-known representatives in this category of web frameworks. But would this client architecture apply to every use case? Or are there alternatives that would better suit themselves and would be less time- and cost-consuming in development?

Single-page web applications have today practically become standard. Angular, React, and Vue.js are the best-known representatives in this category of.....

01.09.2022

Vaadin BeanValidationBinder with Custom Resource Bundle

The BeanValidationBinder from Vaadin uses the default message bundle ValidationMessages from Bean Validation for translations. But often one has already a resource bundle with translations for the Vaadin application. So how can we override this resource bundle?

The BeanValidationBinder from Vaadin uses the default message bundle ValidationMessages from Bean Validation for translations. But often one has .....

19.08.2022

The Real Value of Microservices

For several years, the microservices architecture has established itself as a quasi-standard and is deployed in many projects. That it is not a catch-all solution is well known. But how do microservices influence the lifecycle of an application, and which paradigms are important for other styles of architecture?

For several years, the microservices architecture has established itself as a quasi-standard and is deployed in many projects. That it is not a .....

04.08.2022

Deploy Vaadin Application on Heroku

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. I’ve used Heroku for some smaller projects in the past and, it was very easy to use. So why not try to run a Vaadin application on this platform.

Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. I've used Heroku for .....

26.07.2022

Vaadin UI Testing with Playwright

In my Vaadin projects, I usually use Karibu Testing for unit and/or Vaadins TestBench for end-to-end tests. Karibu Testing is an open source testing framework developed by Martin Vysny and TestBench the commercial UI testing framework based on Selenium.
Testing with TestBench/Selenium is often slow and flaky. I encountered non-reproducible problems when running the test. So I was looking for an alternative.

In my Vaadin projects, I usually use Karibu Testing for unit and/or Vaadins TestBench for end-to-end tests. Karibu Testing is an open source testing .....

23.07.2022