Java Articles by Foojay.io

March, 2025

  • 17 March

    Foojay Podcast #68: Welcome to OpenJDK (Java) 24

    Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (audio only)Guests Simon Ritter Hanno Embregts Content We serve you a podcast about the new Java version every six months. Our regular guest, Simon Ritter, Deputy CTO of Azul, is known on social media as “speakjava.” He is part of the OpenJDK vulnerability group, JCP executive committee, …

    Read More »
  • 16 March

    Pull request testing on Kubernetes: testing locally and on GitHub workflows

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents Unit testing vs. integration testingTestcontainersUse-case: application with database“Unit” testing“Integration” testingThe GitHub workflowAlternative “Unit testing” on GitHubConclusion Imagine an organization with the following practices: Commits code on GitHub Runs its CI/CD pipelines with GitHub Actions Runs its production workload on Kubernetes Uses Google Cloud A new engineer manager arrives …

    Read More »
  • 16 March

    Pull Request testing on Kubernetes: Working with GitHub Actions and GKE

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents Building and storing the imageSizing the clusterAuthenticate on Google Cloud from a GitHub workflowWorking within the GitHub workflowCreate a Kubernetes manifestSetting the correct GitHub image tagAccessing the private GitHub registry from GKEGet the PostgreSQL connection parametersGetting the external deployed app IPRunning the end-to-end testDiscussion I’m continuing my series …

    Read More »
  • 13 March

    Demo Application with CRaC and Loading Data in Memory

    Author: Frank Delporte Original post on Foojay: Read More Table of Contents Demo Application Goal of the Application Running the Application Conclusion Coordinated Restore at Checkpoint (CRaC) is a JDK project initiated by Azul. With CRaC, you can start Java programs with a shorter time to the first transaction and less time and resources to achieve full code speed. This …

    Read More »
  • 11 March

    Path Traversal Vulnerability in Deep Java Library (DJL) and Its Impact on Java AI Development

    Author: Brian Vermeer Original post on Foojay: Read More Table of Contents CVE-2025-0851 explained Absolute Path Traversal Remediation Deep Java Library (DJL) is an open source deep learning framework that brings AI capabilities to Java developers without requiring a shift to Python. It provides an intuitive, high-level API for building, training, and deploying machine learning models, supporting deep learning engines …

    Read More »
  • 7 March

    Creating SBOMs with the Snyk CLI

    Author: Brian Vermeer Original post on Foojay: Read More Table of Contents What are SBOMs?Why do we need SBOMs?Creating SBOMs with the Snyk CLI Installing the Snyk CLI Generate SBOMs using the Snyk CLI Multiple projects Automating SBOM generation with the Snyk CLI Analyzing SBOMs Snyk CLI SBOM Test Supplying up-to-date SBOMs with Snyk The software bill of materials (SBOM) …

    Read More »
  • 7 March

    Code Reviews with AI: a Developer Guide

    Author: Jonathan Vila Original post on Foojay: Read More Table of Contents Code generated by AI code assistantsThe Traditional Code Review Struggle: Familiar Pain PointsAI to the Rescue: Enhancing Code Reviews Code reviews are a cornerstone of software development. They’re where we share knowledge, catch bugs early, and ensure our code meets the highest standards. But let’s be honest… Traditional …

    Read More »
  • 7 March

    Extending Java APIs – Add Missing Features Without the Hassle

    Author: Shai Almog Original post on Foojay: Read More Table of Contents ExtensionsExtension LibrariesExtending ArraysStructural InterfacesAdding AnnotationsFinal Word The Java API is vast. That’s great, but sometimes a missing method or capability can be frustrating. With Manifold, developers can solve this problem without having to wait for Java to add a feature in a later version. Even more importantly, Manifold …

    Read More »
  • 5 March

    Book Review: DuckDB in Action

    Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents FactsChaptersPros and consConclusion Disclaimer: this post includes affiliate links; I may receive compensation if you purchase the book from the different links provided in this post. This review is about DuckDB in Action by JoMark Needham, Michael Hunger, and Michael Simons from Manning. The book was sent to …

    Read More »
  • 3 March

    SummarizingTokenWindowChatMemory: Enhancing LLM’s Conversations with Efficient Summarization

    Author: A N M Bazlur Rahman Original post on Foojay: Read More Table of Contents SummarizingTokenWindowChatMemory The Summarizer Interface Summarization Logic LLM Summarization Why This MattersConclusion LLM chat models have become an integral part of many applications today. We are all experimenting and exploring the best ways to utilize them effectively. For Java developers, LangChain4j has been an incredible tool …

    Read More »