Using Oracle JSON-Relational Duality Views with Spring Boot. The ORM Killer?
Oracle Database 23ai introduced a powerful feature called JSON-Relational Duality Views. These views let you work with relational data in a document-oriented way. In this post,[...]
Integrating Google Analytics with Vaadin Flow: A Step-by-Step Guide
Want to track how users interact with your Vaadin Flow application? Learn how to integrate Google Analytics with a clean, reusable component. This guide shows you step-by-step how[...]
Browserless Testing of Vaadin Applications with Karibu Testing
In modern web development, testing is essential for ensuring the reliability and performance of applications. For developers working with Vaadin, one of the best testing tools is[...]
Fly.io and Neon: The Perfect Combination to Run Your Java Applications
With the right tools, deploying and managing Java applications can be straightforward and efficient. This blog post will explore how Fly.io and Neon make a perfect combination for[...]
The Best Way to Handle Phone Numbers
Processing phone numbers seems complicated at first glance because of the many different formats. In this post, I’ll show you that with libphonenumber, it becomes[...]
Connect to Google Cloud SQL from Java
Recently, I migrated my application to Google Cloud Run and Cloud SQL, and I struggled with connecting to the database. So, I’d like to share one way to achieve the connection.
Hibernate Schema-based Multi-Tenancy using StatementInspector
When using schema-based multi-tenancy with Hibernate, a simple way to define the schema is using a MultiTenantConnectionProvider where we call SET SCHEMA on the connection.[...]
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.
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?
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[...]
Resolving SonarQube Rule S2699 with Karibu Testing Assertions
I’m using Karibu Testing for testing my Vaadin applications which work perfectly. But recently, I encountered a problem when I analyzed my code with SonarQube. Karibu[...]
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[...]