Recent Posts

Make the Life of your Developer Client’s Easier with Smart Object Builders

Author: Maximillian Arruda Original post on Foojay: Read More Table of Contents The scenario: The complex object The traditional approach: Telescoping constructors Favor Static Factory Methods over Class Constructors Many parameters? Use the Builder pattern Restricts the order of method calls in the Builder pattern Conclusion Key Takeaways Final Thoughts We often hear the phrase: “Make the life of your …

Read More »

Integrating Google Analytics With Vaadin Flow: A Step-By-Step Guide

Author: Simon Martinelli Original post on Foojay: Read More Table of Contents PrerequisitesCreating the Analytics ComponentUsing the Component Step 1: Add To Main Layout Step 2: Track Custom Events How It WorksBest PracticesCommon Use CasesConclusion 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 …

Read More »

The Proper Way to Define Configuration Properties in Spring

Author: Wim De Troyer Original post on Foojay: Read More Table of Contents IntroductionThe initial set-up in Spring Boot 2.Spring boot 3: Some of my properties are suddenly empty!The proper way to define your configuration properties 1. Simplify your code & get rid of lombok: use records instead of classes 2. Acquire ‘start-up’ time security: validate your configuration 3. Bonus: …

Read More »