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[...]
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[...]
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,[...]
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[...]
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[...]
Connect App Engine to Cloud SQL
How to connect from an application running on Google Cloud App Engine to a PostgreSQL database running in Cloud SQL.
Deploy to Google Cloud App Engine with GitHub Actions
In my previous post, I was explaining how to deploy to Google Cloud. The final missing part was to deploy it automatically with GitHub actions. The authentication will be done[...]