Java Articles by Foojay.io

February, 2025

  • 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 »
  • 1 February

    JavaFX Links of January 2025

    Author: Frank Delporte Original post on Foojay: Read More Table of Contents CoreApplicationsGamesComponents, Libraries, ToolsPodcasts, Videos, BooksConferencesTutorialsMiscellaneousJFX Central Here is the first overview of the JavaFX LinksOfTheMonth for 2025. You can find the weekly lists on jfx-central.com. Did we miss anything? Is there anything you want to have included in one of the next overviews? Let us know via links@jfx-central.com. …

    Read More »

January, 2025

  • 30 January

    My first steps with Playwright

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The contextGetting my feet wetStoring cookiesAdapting to realityConclusion In my previous company, I developed a batch job that tracked metrics across social media, such as Twitter, LinkedIn, Mastodon, Bluesky, Reddit, etc. Then I realized I could duplicate it for my own “persona”. The problem is that some media …

    Read More »
  • 30 January

    A solution to the problem of cluster-wide CRDs

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents A short intro to CRDsThe issue with cluster-wide CRDsThe separate clusters approachvCluster, a sensible alternativeConclusion I’m an average Reddit user, scrolling much more than reading or interacting. Sometimes, however, a post rings a giant red bell. When I stumbled upon If you could add one feature to K8s, …

    Read More »
  • 29 January

    Project Loom: Structured Concurrency – Java

    Author: Mahendra Rao B Original post on Foojay: Read More Table of Contents What is Structured Concurrency? How Structured Concurrency Works? Benefits of Strutured Concurrency ConclusionReferences In today’s era of cloud computing, where high-performance infrastructure is readily available, developers face a complex challenge in achieving efficient concurrency. While modern technological advancements have brought us closer to solving these challenges, we …

    Read More »
  • 28 January

    Token Bucket Rate Limiter (Redis & Java)

    Author: Raphael De Lio Original post on Foojay: Read More Table of Contents Index How It Works 1. Define a Token Refill Rate 2. Track Token Consumption 3. Refill Tokens 4. Rate Limit Check How to Implement It with Redis and Java 1. Retrieve current token count and last refill time 2. Refill tokens if necessary and update the bucket …

    Read More »
  • 27 January

    Thinking differently about testing

    Author: Steve Poole Original post on Foojay: Read More Table of Contents 10x Insights on a different view of quality assurance Bugs cost When’s the best time to find bugs? How should we really test? Changing the status quo Three challenges to overcome We have almost all the pieces Testing is multiI-dimensional Tortoise and the Hare vs the Feather and …

    Read More »