Securing Vaadin Applications with One-Time Token
Logging into an application should be simple for users but still safe and secure. Traditional logins with usernames and passwords work, but they can be inconvenient and sometimes[...]
Securing Vaadin Applications with Microsoft Entra
Many companies use Microsoft 365, so letting users log in with their Microsoft account is a good choice. This blog post shows how to secure your Vaadin applications using[...]
Secure and Efficient Oracle DB Setup with Spring Boot and Testcontainers
Having one user for creating database objects (DDL) and another for application-level data operations (DML) has many benefits. It improves security, keeps things organized, and[...]
CQRS meets modern Java
Developing robust yet maintainable software solutions remains at the heart of modern software development. The Command Query Responsibility Segregation (CQRS) pattern offers an[...]
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.