Blog:

How do you get a Spring Bean without Dependency Injection?

Sometimes, you want to use a Spring Bean in a class that is not a Spring Bean, but then dependency injection doesn’t work. This article shows a way to get around that limitation.

Sometimes, you want to use a Spring Bean in a class that is not a Spring Bean, but then dependency injection doesn't work. This article shows a way to.....

04.01.2024

Durable Subscription with JMS and Spring Boot

When using the publish-subscribe domain with JMS we often want to use durable subscriptions. But how can this be done with Spring Boot?

When using the publish-subscribe domain with JMS we often want to use durable subscriptions. But how can this be done with Spring Boot?.....

12.12.2023

Testing Spring Boot JMS with ActiveMQ Artemis and Testcontainers

Currently, I’m teaching JMS with Spring Boot at the University of Applied Science in Bern, Switzerland.
We use Apache ActiveMQ Artemis as the JMS message broker. But how can we test our Spring Boot application?

Currently, I'm teaching JMS with Spring Boot at the University of Applied Science in Bern, Switzerland. We use Apache ActiveMQ Artemis as the JMS .....

09.12.2023

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

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

How to use jOOQ with Testcontainers, and Flyway

When using a database the question is how to manage the versions of the schema and how to use the database in testing. Container technologies became a defacto standard. Why not use containers for development and your database?

When using a database the question is how to manage the versions of the schema and how to use the database in testing. Container technologies became a.....

29.04.2022

Visualize Message Flow with Vaadin & Neo4j

Analyzing and visualizing the message flow between business functions was the goal of my current project. At first, we considered using a UML tool for this job, but we came to the conclusion that it might not be as flexible as we need it to be. Finally, I’ve got the assignment to create a custom web application.

Analyzing and visualizing the message flow between business functions was the goal of my current project. At first, we considered using a UML tool for.....

16.03.2022

Introduction to Database Migrations with Spring Boot and Flyway

If you are working with Spring Boot there are several ways to initialize the database.

If you are working with Spring Boot there are several ways to initialize the database......

20.11.2018