Why I Don’t Use Mocking Frameworks and Why You Might Not Need Them Either
“I never use mocking frameworks like Mockito. Why? Either I have my test data under control, or I write the methods in a functional way.” When I say this, it usually[...]
The Simon Martinelli Stack: A Pragmatic Approach to Full-Stack Java Development
In the fast-paced world of software development, developers are often overwhelmed by endless framework choices and architectural trends. Over the years, I have refined a stack[...]
Using java.time Classes with JAXB
JAXB (Jakarta XML Binding) is a popular way to bind XML schemas to Java objects. However, out of the box, JAXB doesn’t support the modern Java 8+ java.time API like LocalDate or[...]
How to Deploy a Vaadin Application as a WAR on Tomcat 11
If you want to run a Vaadin application on an external servlet container like Apache Tomcat 11, you need to package your application as a WAR (Web Application Archive) instead of[...]
Effortless Cloud Deployment of a Vaadin App with Virtuozzo
As a developer who values simplicity, automation, and data residency in Switzerland, I recently started using Hidora to host my Java application. In this post, I’ll show you how[...]
Configuring the Entra Spring Boot Starter Behind a Proxy
I recently encountered a challenge when using the Spring Boot integration for Microsoft Entra (spring-cloud-azure-starter-active-director) behind a corporate proxy. It was a pain[...]
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[...]