Java Articles by Foojay.io

January, 2025

  • 9 January

    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 »
  • 8 January

    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 »
  • 7 January

    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 »
  • 6 January

    2024 in Retrospective: Nicolas Frankel

    Author: Nicolas Frankel Original post on Foojay: Read More For the first article of 2025, I’m continuing my retrospective series! As last year, before diving in into the report proper, I’d like to remind you that Ukraine is still fighting for its survival after nearly 3 years and countless Russian war crimes. The civilized world can’t allow rewarding the invasion …

    Read More »
  • 3 January

    Video series “JavaFX In Action”, Part 3

    Author: Frank Delporte Original post on Foojay: Read More This is the next part in the series of “JavaFX in Action” interviews published in the last part of 2024. Are you working on a fantastic JavaFX application? Let me know, and let’s discuss it in the new year! July: Pedro Duque Vieira, Daniel Zimmermann, Christopher Schnick, and Robert Ladstätter November: …

    Read More »
  • 3 January

    AI-powered Chat Application using IBM watsonx.ai and Spring AI

    Author: Tristan Mahinay Original post on Foojay: Read More Generative Artificial Intelligence (Gen AI) disrupted enterprises with the introduction of GPT-4 foundation model by Open AI in the late 2022 to early 2023 triggering big tech to release their own Gen AI platform and foundation models. Among them are Google, Microsoft, AWS and IBM. In this article, we will deal …

    Read More »
  • 2 January

    Pseudorandom Number Generator – The Secret Behind Santa’s Gift Bag

    Author: Rijo Sam Original post on Foojay: Read More On a snowy Christmas Eve, Santa sets off on his journey around the world, gliding through the night sky on his sleigh to deliver presents to children everywhere. It’s one of the busiest nights of the year for Santa, as children eagerly await their special gifts. With his magical gift bag …

    Read More »

December, 2024

  • 31 December

    More Free Shells for your Java IDE

    Author: Anthony Goubard Original post on Foojay: Read More You may be using one of the terminal applications installed on your operating system or use the included terminal panel of the IDE. Not all shells are included in your IDE. Here is a list of shells by default supported for the IDE’s based on my Windows computer. Shell IntelliJ IDEA …

    Read More »
  • 29 December

    JavaFX Links of December 2024

    Author: Frank Delporte Original post on Foojay: Read More Here is the last overview of the JavaFX LinksOfTheMonth for 2024. You can find the weekly lists on jfx-central.com. We hope you enjoyed all the previous editions and we promise to go on in the next year… Have a nice holiday and see you in 2025! Did we miss anything? Is …

    Read More »
  • 24 December

    Issues with old GlassFish server? Upgrade to Eclipse GlassFish!

    Author: Ondro Mihalyi Original post on Foojay: Read More Rely on hardened and production-ready Eclipse GlassFish 7 or newer. Benefit from key feature updates and Jakarta EE advancements, brought to you by OmniFish and the amazing community of opensource GlassFish contributors. The advancements made in Eclipse GlassFish under the Eclipse Foundation have transformed it into a more developer-friendly, cloud-native, and secure …

    Read More »