Java Articles by Foojay.io

February, 2025

  • 18 February

    Event-Driven Architecture and Change Data Capture Made Easy

    Author: Muaath Bin Ali Original post on Foojay: Read More Hello again! In this article (Part 1), we will discuss two common ways to build modern software systems: Event-Driven Architecture (EDA) and Change Data Capture (CDC). They serve different purposes but can work well together in some situations. we’ll explain EDA and CDC, discuss their use cases, and explain when …

    Read More »
  • 17 February

    Securing Vaadin Applications with Microsoft Entra

    Author: Simon Martinelli Original post on Foojay: Read More Table of Contents Step 1: Create an Application in 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 Microsoft Entra for authentication and authorization and explains how Karibu Testing must …

    Read More »
  • 17 February

    Webinar: Find Undead Code in Your Java Environments

    Author: Erik Costlow Original post on Foojay: Read More Table of Contents Put a stake through the heart of undead codeAzul Code Inventory can help remove undead codeGradle Devlocity can help automate tasks to improve productivity  10-30% of the custom code in applications is undead code and can just be deleted. Eliminating undead code can enhance the overall performance and maintainability …

    Read More »
  • 17 February

    A Glance into JFR Class and Method Tagging

    Author: Johannes Bechberger Original post on Foojay: Read More Table of Contents TagsTaggingConclusion Ever wonder how the JDK Flight Recorder (JFR) keeps track of the classes and methods it has collected for stack traces and more? In this short article, I’ll explore JFR tagging and how it works in the OpenJDK. Tags JFR files consist of self-contained chunks. Every chunk …

    Read More »
  • 13 February

    Remote Development Made Simple with DevPod

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The problemDevelopment ContainersIntroducing DevPodConclusion I come relatively late to the subject of Remote Development Environments (also known as Cloud Development Environments). The main reason is that I haven’t worked in a development team for over six years. However, I’m now working for Loft Labs, and we have a …

    Read More »
  • 12 February

    Building a Declarative API with Spring AOP and SpEL

    Author: Mikael Francoeur Original post on Foojay: Read More Table of Contents A story about legacyEvaluating SpEL expressionsImplementing the audit adviceTesting the audit aspectImprovementsFootnotes In this article, we’ll implement a declarative API to perform tasks belonging to cross-cutting concerns, using auditing as an example. We’ll see how SpEL and Spring AOP allow us to easily intercept invocations throughout a code …

    Read More »
  • 11 February

    Foojay Podcast #66: Let’s Talk About Java Code! Diving into a few Foojay blog posts…

    Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (audio only)GuestsLinksContent In this Foojay podcast, we dive into a few articles that were published recently and focus on code. Igor Kulakov of JetBrains gives us his insights into the tool he created to find duplicate content in documentation. Rijo Sam explains how you can generate real …

    Read More »
  • 5 February

    Spring Data Neo4j: How to update an entity

    Author: Jennifer Reif Original post on Foojay: Read More Table of Contents Spring save() methodPatch YearCustom CypherProjections Projection as Movie Movie entity as projection Wrapping Up!Resources After working on a new online Spring Data Neo4j course, I learned a couple more things about updating an entity. The course required a different set of scenarios than outlined in my previous SDN …

    Read More »
  • 4 February

    Sliding Window Log Rate Limiter (Redis & Java)

    Author: Raphael De Lio Original post on Foojay: Read More Table of Contents Index How It Works 1. Define a Time Window 2. Track Requests 3. Remove Expired Entries 4. Rate Limit Check How to Implement It with Redis and Java 1. Log Each Request (If Allowed) 2. Remove Expired Entries 3. Count Requests in the Time Window Implementing it …

    Read More »
  • 3 February

    Join the Celebration of 30 Years of Java

    Author: Geertjan Wielenga Original post on Foojay: Read More On Thursday, March 13, Azul is hosting a virtual celebration of 30 years of Java, starting at 09:00 PST / 17:00 GMT / 18:00 CET. In addition to discussion panels, including a Friends of OpenJDK Panel with Marit Van Dijk, Ondro Mihályi, and Simon Martinelli, the highlighted speakers and topics of …

    Read More »