# Java Advent Calendar

The JVM Programming Advent Calendar

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Santa's Python Pitfalls: A Java Developer's Guide to Staying Safe This Christmas

DevFeed: [Santa's Python Pitfalls: A Java Developer's Guide to Staying Safe This Christmas](<https://devfeed.tech/articles/santa-s-python-pitfalls-a-java-developer-s-guide-to-staying-safe-this-christmas-23029.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/santas-python-pitfalls-a-java-developers-guide-to-staying-safe-this-christmas.html>)

Author: Steve Poole

Published: 2025-12-24T03:03:09Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [pip](<https://devfeed.tech/topics/pip.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [Python](<https://devfeed.tech/topics/python.md>), [Maven Central](<https://devfeed.tech/topics/maven-central.md>), [Maven](<https://devfeed.tech/topics/maven.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [artifactory](<https://devfeed.tech/tags/artifactory.md>), [cache](<https://devfeed.tech/tags/cache.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [developer](<https://devfeed.tech/tags/developer.md>), [github](<https://devfeed.tech/tags/github.md>), [jackson](<https://devfeed.tech/tags/jackson.md>), [java](<https://devfeed.tech/tags/java.md>), [maven](<https://devfeed.tech/tags/maven.md>), [maven-central](<https://devfeed.tech/tags/maven-central.md>), [nexus](<https://devfeed.tech/tags/nexus.md>), [package](<https://devfeed.tech/tags/package.md>), [packages](<https://devfeed.tech/tags/packages.md>), [packaging](<https://devfeed.tech/tags/packaging.md>), [pip](<https://devfeed.tech/tags/pip.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

The excerpt warns Java developers that Python package installation has different trust and namespace risks: PyPI package names are first-come, making collisions and typosquatting possible, and a resolver may favor a higher-version package from another index, enabling dependency confusion. It recommends checking a package's owner, project activity and reputation, name, and source before installing; pinning explicit versions; and using a private registry such as Artifactory or Nexus to proxy and cache PyPI, blacklist known bad packages, and prioritize internal packages. It also recommends lock-file tooling. The excerpt presents these as mitigations, without detailing specific lock-file tools or further setup steps.

### Source excerpt

Just like that it happened. You, a disciplined Java developer, are now installing Python. Like everything in 2025, it just arrived. One day, you were running a tidy mvn install, the next, you're learning about virtual environments and fighting an unfriendly pip install that won't explain what it just pulled from the internet. Good news: [...] The post Santa's Python Pitfalls: A Java Developer's Guide to Staying Safe This Christmas appeared first on JVM Advent.

## Bring WebAssembly to the JVM. How Chicory Is Powering a New Generation of Java Libraries

DevFeed: [Bring WebAssembly to the JVM. How Chicory Is Powering a New Generation of Java Libraries](<https://devfeed.tech/articles/bring-webassembly-to-the-jvm-how-chicory-is-powering-a-new-generation-of-java-libraries-23013.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/chicory-webassembly-on-the-jvm.html>)

Author: Andrea Peruffo

Published: 2025-12-23T03:03:36Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [c](<https://devfeed.tech/tags/c.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [heap](<https://devfeed.tech/tags/heap.md>), [integration](<https://devfeed.tech/tags/integration.md>), [java](<https://devfeed.tech/tags/java.md>), [java-libraries](<https://devfeed.tech/tags/java-libraries.md>), [jni](<https://devfeed.tech/tags/jni.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [runtimes](<https://devfeed.tech/tags/runtimes.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

Chicory is a JVM-native WebAssembly runtime that lets Java applications run Wasm modules using a JAR, without JNI or platform-specific native binaries. The excerpt highlights portability across platforms where the JVM runs, plus execution within the JVM's managed environment and access to its memory safety, garbage collection, observability, and tooling. It says Chicory supports multiple execution modes with portability and performance trade-offs; the excerpt does not detail those modes. It also reports that Chicory 1.4.0 stabilized its runtime and build-time compilers and annotations, and that 1.6.0 added JPMS support and a directory-backed runtime compiler cache.

### Source excerpt

Introduction: the promise of "embed once, run anywhere" reimagined What if you could embed native-level capabilities into your Java applications, think of database engines, scripting runtimes, policy interpreters, even compilers and still remain pure Java, with no JNI, no native binaries, no concerns about OS or architecture compatibility? That is the promise of combining [...] The post Bring WebAssembly to the JVM. How Chicory Is Powering a New Generation of Java Libraries appeared first on JVM Advent.

## Delegating Java tasks to Supervised AI Dev Pipelines

DevFeed: [Delegating Java tasks to Supervised AI Dev Pipelines](<https://devfeed.tech/articles/delegating-java-tasks-to-supervised-ai-dev-pipelines-23015.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/delegating-java-tasks-to-supervised-ai-dev-pipelines.html>)

Author: Juan Antonio Breña Moral

Published: 2025-12-22T03:03:48Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [anysphere](<https://devfeed.tech/tags/anysphere.md>), [automation](<https://devfeed.tech/tags/automation.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-agents](<https://devfeed.tech/tags/cloud-agents.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [dev](<https://devfeed.tech/tags/dev.md>), [features](<https://devfeed.tech/tags/features.md>), [ide](<https://devfeed.tech/tags/ide.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [new-products](<https://devfeed.tech/tags/new-products.md>), [operations](<https://devfeed.tech/tags/operations.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [products](<https://devfeed.tech/tags/products.md>), [software](<https://devfeed.tech/tags/software.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

### AI overview

The excerpt distinguishes two ways to delegate development work to Cursor's frontier models: Cursor Agent CLI runs locally in a pipeline, which can execute a task and submit a pull request for team review; Cursor Cloud Agents run on Cursor's infrastructure and are managed through REST endpoints. The cloud service groups endpoints for agent management, agent information, and general information. To launch an agent, provide a GitHub or GitLab repository the service can access, a clear task prompt, an available model, and a Cursor API key. The excerpt introduces these capabilities but does not provide the promised guidance on building supervised pipelines.

### Source excerpt

During the second part of this year, Anysphere, the company behind Cursor IDE, released 2 new products that could help you in 2026 increase the level of automation in your software operations. The names of both products are: Cursor Agent CLI and Cursor Cloud Agents. The article will explain the features that both products share [...] The post Delegating Java tasks to Supervised AI Dev Pipelines appeared first on JVM Advent.

## How to really measure LLMs for JVM Code? A Benchmarking guide for late 2025

DevFeed: [How to really measure LLMs for JVM Code? A Benchmarking guide for late 2025](<https://devfeed.tech/articles/how-to-really-measure-llms-for-jvm-code-a-benchmarking-guide-for-late-2025-23020.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/how-to-really-measure-llms-for-jvm-code-a-benchmarking-guide-for-late-2025.html>)

Author: Artur Skowronski

Published: 2025-12-21T04:04:59Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [coding assistant](<https://devfeed.tech/topics/coding-assistant.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [2025](<https://devfeed.tech/tags/2025.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [claude](<https://devfeed.tech/tags/claude.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-benchmarking](<https://devfeed.tech/tags/llm-benchmarking.md>), [llms](<https://devfeed.tech/tags/llms.md>), [mbpp](<https://devfeed.tech/tags/mbpp.md>), [measuring](<https://devfeed.tech/tags/measuring.md>)

### AI overview

The excerpt argues that claims about the best model for Java are hard to assess when based on opinions or benchmarks whose tests are poorly understood. It traces coding benchmarks from HumanEval, which checks whether generated Python functions pass unit tests, to SWE-bench, which aims to resemble real software work by giving a model a real GitHub repository. HumanEval's 164 problems became too easy to distinguish leading models, which exceeded 90%; MBPP offers more entry-level problems at roughly similar difficulty. The excerpt introduces a JVM-specific comparison across Java, Kotlin, and Scala, but ends before giving its methods, model results, or conclusions.

### Source excerpt

If you're reading this, you're probably already using some LLM for coding. Maybe it's Copilot, maybe Claude Code, maybe Cursor with Gemini enabled (or Cursor's own model). You know the drill. Do you truly expect the announcement "We are worst than competitors?" The problem is that when someone asks, "Which model is best for Java?", [...] The post How to really measure LLMs for JVM Code? A Benchmarking guide for late 2025 appeared first on JVM Advent.

## Out with the Old, In with the New: A Guide to Application Upkeep

DevFeed: [Out with the Old, In with the New: A Guide to Application Upkeep](<https://devfeed.tech/articles/out-with-the-old-in-with-the-new-a-guide-to-application-upkeep-23026.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/out-with-the-old-in-with-the-new.html>)

Author: Andres Sacco

Published: 2025-12-20T03:08:59Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Legacy Modernization](<https://devfeed.tech/topics/legacy-modernization.md>), [version](<https://devfeed.tech/topics/version.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [application](<https://devfeed.tech/tags/application.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [java](<https://devfeed.tech/tags/java.md>), [legacy-application](<https://devfeed.tech/tags/legacy-application.md>), [legacy-code](<https://devfeed.tech/tags/legacy-code.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [migration](<https://devfeed.tech/tags/migration.md>), [rewrite](<https://devfeed.tech/tags/rewrite.md>), [security-vulnerabilities](<https://devfeed.tech/tags/security-vulnerabilities.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [upgrades](<https://devfeed.tech/tags/upgrades.md>)

### AI overview

Upgrading Java, Spring Boot, or dependencies can require code changes beyond a version bump: releases may deprecate features, change behavior, or redesign APIs, and small changes can affect other parts of an application. The excerpt describes teams maintaining microservices on different Java or Spring Boot versions, where a shared library update may be blocked by Java compatibility; custom fixes across services can cost time and may affect performance. Outdated code can also carry security, compatibility, stability, and maintenance risks. Updates may be optional for isolated desktop applications, according to the excerpt.

### Source excerpt

Migrating an existing application to a new version of Java or a framework such as Spring Boot involves much more than simply updating a version number in a file. Each new release of a library or language brings new features, deprecations, behavioral changes, and sometimes complete API redesigns. When legacy code is involved, these upgrades [...] The post Out with the Old, In with the New: A Guide to Application Upkeep appeared first on JVM Advent.

## Getting Started with SpringAI

DevFeed: [Getting Started with SpringAI](<https://devfeed.tech/articles/getting-started-with-springai-23018.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/getting-started-with-springai.html>)

Author: Samuel Lissner

Published: 2025-12-19T03:03:39Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Spring AI](<https://devfeed.tech/topics/spring-ai.md>), [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Java](<https://devfeed.tech/topics/java.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [apis](<https://devfeed.tech/tags/apis.md>), [claude](<https://devfeed.tech/tags/claude.md>), [guide](<https://devfeed.tech/tags/guide.md>), [java](<https://devfeed.tech/tags/java.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [rag](<https://devfeed.tech/tags/rag.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-ai](<https://devfeed.tech/tags/spring-ai.md>)

### AI overview

A hands-on tutorial for building a Spring AI application that summarizes Wikipedia articles with large language models. It uses Spring Boot, Java 21, Anthropic's Claude models, Apache Tika for PDF text extraction, and Retrieval-Augmented Generation concepts.

### Source excerpt

A Hands-On Guide to Text Summarization Over the past year, the Java ecosystem has made significant strides in making Generative AI development enterprise-ready. For Spring developers, SpringAI has emerged as the go-to toolkit for seamlessly integrating enterprise data and APIs with AI models. Are you curious in developing enterprise grade AI applications with Spring AI? [...] The post Getting Started with SpringAI appeared first on JVM Advent.

## Making Java a first-class AI citizen with Langchain4j

DevFeed: [Making Java a first-class AI citizen with Langchain4j](<https://devfeed.tech/articles/making-java-a-first-class-ai-citizen-with-langchain4j-23024.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/making-java-a-first-class-ai-citizen-with-langchain4j.html>)

Author: deors

Published: 2025-12-18T03:03:33Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [langchain4j](<https://devfeed.tech/topics/langchain4j.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Java](<https://devfeed.tech/topics/java.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [framework](<https://devfeed.tech/tags/framework.md>), [genai](<https://devfeed.tech/tags/genai.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [go](<https://devfeed.tech/tags/go.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [langchain4j](<https://devfeed.tech/tags/langchain4j.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [languages](<https://devfeed.tech/tags/languages.md>), [large](<https://devfeed.tech/tags/large.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

The excerpt argues that Java can be a strong platform for generative AI because many solutions consume existing language models through web APIs, reducing Python's earlier advantage; enterprise concerns such as resilience, scalability, observability, and existing team skills also matter. It presents Langchain4j as a framework-agnostic Java library with a simple, builder-based API that can fit Spring, Jakarta, Quarkus, Micronaut, or standalone applications. The excerpt says it supports cloud services such as OpenAI and Google Vertex, as well as locally run models through Ollama. Its example uses ChatLanguageModel to send messages and receive responses, with provider-specific model implementations; the excerpt names OpenAiChatModel but cuts off before showing configuration or usage details. Examples are based on Langchain4j 0.36.2.

### Source excerpt

Introduction When the first technical solutions based on Artificial Intelligence began to be created, Python was the language and runtime platform of choice. It was not a total surprise as Python was the choice of the great majority of data scientists to analyse data, perform experiments and create AI models, so it was kind of [...] The post Making Java a first-class AI citizen with Langchain4j appeared first on JVM Advent.

## Run Into the New Year with Java's Ahead-of-Time Cache Features

DevFeed: [Run Into the New Year with Java's Ahead-of-Time Cache Features](<https://devfeed.tech/articles/run-into-the-new-year-with-java-s-ahead-of-time-cache-features-23028.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/run-java-aot-cache-optimizations.html>)

Author: Ana-Maria Mihalceanu

Published: 2025-12-17T03:03:45Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Project Leyden](<https://devfeed.tech/topics/project-leyden.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [app startup](<https://devfeed.tech/topics/app-startup.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [aot](<https://devfeed.tech/tags/aot.md>), [application](<https://devfeed.tech/tags/application.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [java](<https://devfeed.tech/tags/java.md>), [java-advent](<https://devfeed.tech/tags/java-advent.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [jdk25](<https://devfeed.tech/tags/jdk25.md>), [jep](<https://devfeed.tech/tags/jep.md>), [jit](<https://devfeed.tech/tags/jit.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [openjdk](<https://devfeed.tech/tags/openjdk.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>), [project-leyden](<https://devfeed.tech/tags/project-leyden.md>), [releases](<https://devfeed.tech/tags/releases.md>), [results](<https://devfeed.tech/tags/results.md>), [startup](<https://devfeed.tech/tags/startup.md>)

### AI overview

JDK 24 introduced an application-specific HotSpot AOT cache to speed startup by moving class loading and linking work earlier. The workflow is to record application observations during a training run, assemble those observations into a cache, then run the application with `-XX:AOTCache` pointing to it. JDK 25 added frequently executed method profiles to the cache so the JIT can begin generating native code at startup, improving warm-up; the excerpt says this requires no additional execution constraints. The supplied text also mentions simplified cache generation in JDK 25 but cuts off before explaining how.

### Source excerpt

As the year comes to a close, turn your focus to boosting your Java application performance by applying Ahead-of-Time (AOT) cache features in recent JDK releases. This article guides you through using AOT cache optimizations in your application, thereby minimizing startup time and achieving faster peak performance. What is the Ahead-of-time cache in the jdk [...] The post Run Into the New Year with Java's Ahead-of-Time Cache Features appeared first on JVM Advent.

## The FFM API: How OpenJDK Changed the Game for Native Interactions (And Made Pi4J Better!)

DevFeed: [The FFM API: How OpenJDK Changed the Game for Native Interactions (And Made Pi4J Better!)](<https://devfeed.tech/articles/the-ffm-api-how-openjdk-changed-the-game-for-native-interactions-and-made-pi4j-better-23017.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/ffm-api-for-java-on-raspberry-pi.html>)

Author: Frank Delporte

Published: 2025-12-16T03:03:39Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [openjdk](<https://devfeed.tech/topics/openjdk.md>)

Tags: [2020](<https://devfeed.tech/tags/2020.md>), [2025](<https://devfeed.tech/tags/2025.md>), [allows](<https://devfeed.tech/tags/allows.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [code](<https://devfeed.tech/tags/code.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [components](<https://devfeed.tech/tags/components.md>), [control](<https://devfeed.tech/tags/control.md>), [electronic](<https://devfeed.tech/tags/electronic.md>), [electronic-components](<https://devfeed.tech/tags/electronic-components.md>), [focus](<https://devfeed.tech/tags/focus.md>), [gpio](<https://devfeed.tech/tags/gpio.md>), [i](<https://devfeed.tech/tags/i.md>), [interface](<https://devfeed.tech/tags/interface.md>), [java](<https://devfeed.tech/tags/java.md>), [java-advent](<https://devfeed.tech/tags/java-advent.md>), [jni](<https://devfeed.tech/tags/jni.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [native](<https://devfeed.tech/tags/native.md>), [openjdk](<https://devfeed.tech/tags/openjdk.md>)

### AI overview

The article presents Java's Foreign Function & Memory (FFM) API, finalized in Java 22, as a way to simplify Pi4J's native interactions. Pi4J lets Java applications control Raspberry Pi GPIO pins and connected components. The excerpt says earlier approaches using JNI and JNA involved native libraries compiled in Docker build environments, making the codebase harder for Pi4J developers to maintain and debug even as it hid complexity from end users. The article uses Java 25 and a Pi4J V4 snapshot to explain how FFM's stated goals--safe off-heap memory access with cleanup and simpler native calls--can improve the project. The excerpt does not include the implementation details or full account of performance.

### Source excerpt

The Pi4J project is a Java library that allows you to control the GPIO pins and electronic components connected to a Raspberry Pi with pure Java code. It removes the complexity of using native libraries and the Java Native Interface (JNI), allowing you to focus on your application logic. In the Java Advent of 2020, I published "Light up [...] The post The FFM API: How OpenJDK Changed the Game for Native Interactions (And Made Pi4J Better!) appeared first on JVM Advent.

## Spec-Driven Development in Practice: How AI Simplify Full-Stack Java

DevFeed: [Spec-Driven Development in Practice: How AI Simplify Full-Stack Java](<https://devfeed.tech/articles/spec-driven-development-in-practice-how-ai-simplify-full-stack-java-23030.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/spec-driven-development-in-practice-how-ai-simplify-full-stack-java.html>)

Author: Simon Martinelli

Published: 2025-12-14T03:03:46Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Spec Driven Development](<https://devfeed.tech/topics/spec-driven-development.md>), [Full Stack Development](<https://devfeed.tech/topics/full-stack-development.md>), [AI tools for developers](<https://devfeed.tech/topics/ai-tools-for-developers.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-code-generation](<https://devfeed.tech/tags/ai-code-generation.md>), [boot](<https://devfeed.tech/tags/boot.md>), [full-stack](<https://devfeed.tech/tags/full-stack.md>), [java](<https://devfeed.tech/tags/java.md>), [jooq](<https://devfeed.tech/tags/jooq.md>), [spec-driven-development](<https://devfeed.tech/tags/spec-driven-development.md>)

### AI overview

The excerpt presents AI Unified Process (AIUP) as a way to keep requirements, code, tests, and documentation aligned by making specifications the starting point for development. Instead of coding first and documenting later, teams update three core artifacts in order--the Requirements Catalog, Entity Model, and System Use Cases--then use AI to generate code, tests, and diagrams for developers to review and adjust. When requirements change, the specification is updated first and outputs are regenerated. The article frames this as a response to drifting requirements and diagrams, incomplete tests, and business rules buried in service code. Its example context is a full-stack Java application using Spring Boot, jOOQ, and Vaadin; the supplied excerpt does not show the later implementation details.

### Source excerpt

AI is changing how we build software, but many teams still work as if nothing has changed. They treat code as the only reliable artifact. Everything else slowly gets outdated: AI code generation tools can make this even worse if used without structure. They produce code fast, but the process behind the code remains the [...] The post Spec-Driven Development in Practice: How AI Simplify Full-Stack Java appeared first on JVM Advent.

## Hidden Treasures of Eclipse Collections 2025 Edition

DevFeed: [Hidden Treasures of Eclipse Collections 2025 Edition](<https://devfeed.tech/articles/hidden-treasures-of-eclipse-collections-2025-edition-23019.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/hidden-treasures-of-eclipse-collections-2025-edition.html>)

Author: Nikhil Nanivadekar

Published: 2025-12-13T03:03:52Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [blog](<https://devfeed.tech/tags/blog.md>), [collections](<https://devfeed.tech/tags/collections.md>), [java](<https://devfeed.tech/tags/java.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

A tutorial demonstrating four lesser-known features of the open source Eclipse Collections framework for Java, including collection-to-map transformation, occurrence counting, grouping and summing, and aggregation.

### Source excerpt

Eclipse Collections is an open source Java Collections framework. In this blog I am going to demonstrate four lesser known features of the framework. I have published similar blogs in Java Advent Calendars of 2018, 2019, 2020, 2021, 2022, 2023, and 2024. Please refer to the resources at the end of the blog for more [...] The post Hidden Treasures of Eclipse Collections 2025 Edition appeared first on JVM Advent.

## Strengthening your Software Supply Chain

DevFeed: [Strengthening your Software Supply Chain](<https://devfeed.tech/articles/strengthening-your-software-supply-chain-23031.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/strengthening-your-software-supply-chain.html>)

Author: Andres Almiray

Published: 2025-12-12T03:03:02Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>), [slsa levels](<https://devfeed.tech/topics/slsa-levels.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [reproducible builds](<https://devfeed.tech/topics/reproducible-builds.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [Build tool](<https://devfeed.tech/topics/build-tool.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [2021](<https://devfeed.tech/tags/2021.md>), [2025](<https://devfeed.tech/tags/2025.md>), [apache](<https://devfeed.tech/tags/apache.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [build](<https://devfeed.tech/tags/build.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [building](<https://devfeed.tech/tags/building.md>), [components](<https://devfeed.tech/tags/components.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [develop](<https://devfeed.tech/tags/develop.md>), [devops](<https://devfeed.tech/tags/devops.md>), [java](<https://devfeed.tech/tags/java.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [maven](<https://devfeed.tech/tags/maven.md>), [processes](<https://devfeed.tech/tags/processes.md>), [projects](<https://devfeed.tech/tags/projects.md>), [software](<https://devfeed.tech/tags/software.md>), [software-supply-chain](<https://devfeed.tech/tags/software-supply-chain.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [tool](<https://devfeed.tech/tags/tool.md>), [tools](<https://devfeed.tech/tags/tools.md>), [wikipedia](<https://devfeed.tech/tags/wikipedia.md>)

### AI overview

Build tools such as Maven, Gradle, and Ant provide some supply-chain security support, but the excerpt says that using them alone does not secure artifacts, pipelines, compiler toolchains, or other components against tampering. It presents SLSA as a framework of standards and controls for improving integrity and securing packages and infrastructure, and notes that attacks such as Log4Shell or the attempted XZ backdoor might have been prevented or had less impact with timely techniques, metadata, and tools. The excerpt begins with reproducible artifacts: rebuilding the same source with the same tools and instructions in a compatible environment should produce bit-for-bit identical output for comparison. It also says JReleaser supports the features covered in the article. The supplied text cuts off during this section.

### Source excerpt

According to Wikipedia, a software supply chain is the components, libraries, tools, and processes used to develop, build, and publish a software artifact. The Java space provides thousands upon thousands of libraries that may be consumed as dependencies for building projects. Many of these libraries rely on Apache Maven as their build tool of choice, [...] The post Strengthening your Software Supply Chain appeared first on JVM Advent.

## A Glance at GPU Goodness in Java: LLM Inference with TornadoVM

DevFeed: [A Glance at GPU Goodness in Java: LLM Inference with TornadoVM](<https://devfeed.tech/articles/a-glance-at-gpu-goodness-in-java-llm-inference-with-tornadovm-23010.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/a-glance-at-gpu-goodness-in-java-llm-inference-with-tornadovm.html>)

Author: Edoardo Vacchi

Published: 2025-12-11T03:03:21Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [TornadoVM](<https://devfeed.tech/topics/tornadovm.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [java](<https://devfeed.tech/tags/java.md>), [llama3](<https://devfeed.tech/tags/llama3.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [tornadovm](<https://devfeed.tech/tags/tornadovm.md>)

### AI overview

TornadoVM lets Java programs use GPUs and other heterogeneous hardware by compiling Java bytecode into device-specific kernels, managing CPU/GPU data transfers, and scheduling execution. The excerpt presents this as a way to accelerate parallel work such as transformer inference, where token generation involves large matrix multiplications. Its proof of concept, gpullama3, demonstrates Llama 3 inference in Java with GPU acceleration. The setup described calls for JDK 21, a C/C++ toolchain, Python, and additional dependencies whose names are missing from the supplied text; it then points readers to the repository README. A simple loop annotated for parallelization illustrates how the API can handle data movement and execution. The excerpt ends as the author begins exploring gpullama3, so it does not establish performance results or provide the complete model-running instructions.

### Source excerpt

It seems like it's become a tradition that I announce I have joined a new company for the Java Advent of Code. At least this time it's actually an old friend: I am excited to be back at Red Hat, in the llm-d team! Does that mean I forgot about Java? Of course not. If [...] The post A Glance at GPU Goodness in Java: LLM Inference with TornadoVM appeared first on JVM Advent.

## Breaking keys and building trust: The JAVA way!

DevFeed: [Breaking keys and building trust: The JAVA way!](<https://devfeed.tech/articles/breaking-keys-and-building-trust-the-java-way-23012.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/breaking-keys-and-building-trust-the-java-way.html>)

Author: Ixchel Ruiz

Published: 2025-12-10T03:03:48Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Post-quantum cryptography](<https://devfeed.tech/topics/post-quantum-cryptography.md>), [Java](<https://devfeed.tech/topics/java.md>), [cyber resilience act](<https://devfeed.tech/topics/cyber-resilience-act.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [agile](<https://devfeed.tech/tags/agile.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [cloud-services](<https://devfeed.tech/tags/cloud-services.md>), [critical-infrastructure](<https://devfeed.tech/tags/critical-infrastructure.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [dora](<https://devfeed.tech/tags/dora.md>), [eu](<https://devfeed.tech/tags/eu.md>), [finance](<https://devfeed.tech/tags/finance.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [nis2](<https://devfeed.tech/tags/nis2.md>), [post-quantum](<https://devfeed.tech/tags/post-quantum.md>), [quantum](<https://devfeed.tech/tags/quantum.md>)

### AI overview

The excerpt argues that EU regulation, post-quantum research and market pressure are driving a near-term shift toward cryptographic systems that can be updated and adapted over time. It identifies NIS2, DORA, the Cyber Resilience Act, the EU Post-Quantum Cryptography Roadmap and emerging standards as drivers, and says architecture decisions made now must withstand long-lived cryptographic threats, including quantum computing. For Java practitioners, the article promises practical guidance on JVM security foundations and newer KEM/KDF APIs, PEM support, hybrid TLS work and PQC proposals as tools for crypto agility and resilience. The excerpt does not provide implementation details or establish the article's full coverage.

### Source excerpt

-- Preparing for the Quantum Shift Table of Contents The EU's Post-Quantum Plan: Recommendation (EU) 2024/1101 What will upcoming EU cybersecurity legislation require? And how can Java help you prepare? Why this is significant for architects? Java advisory note NIS2 -- Cryptography as Organizational Governance Engineering Implications Java advisory note DORA -- Operational Resilience [...] The post Breaking keys and building trust: The JAVA way! appeared first on JVM Advent.

## Discover Roq, the Quarkus Way for Static Site Generation in Java

DevFeed: [Discover Roq, the Quarkus Way for Static Site Generation in Java](<https://devfeed.tech/articles/discover-roq-the-quarkus-way-for-static-site-generation-in-java-23016.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/discover-roq-the-quarkus-way-for-static-site-generation-in-java.html>)

Author: Andy Damevin

Published: 2025-12-09T02:02:47Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [Java](<https://devfeed.tech/topics/java.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Tailwind CSS](<https://devfeed.tech/topics/tailwind.md>), [gatsby](<https://devfeed.tech/topics/gatsby.md>), [Jekyll](<https://devfeed.tech/topics/jekyll.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [cms](<https://devfeed.tech/tags/cms.md>), [dev](<https://devfeed.tech/tags/dev.md>), [github-action](<https://devfeed.tech/tags/github-action.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [java](<https://devfeed.tech/tags/java.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [ssg](<https://devfeed.tech/tags/ssg.md>), [static-site-generator](<https://devfeed.tech/tags/static-site-generator.md>), [tailwindcss](<https://devfeed.tech/tags/tailwindcss.md>), [themes](<https://devfeed.tech/tags/themes.md>)

### AI overview

This tutorial introduces Roq, a static-site generator built as a thin layer on Quarkus for Java. It explains how Roq uses Quarkus features such as Qute templates, extensions, Dev Mode, plugins, themes, data files, and static-site export, then demonstrates setup and live reloading with a Quarkus, Roq, and Tailwind project.

### Source excerpt

Did you know about Roq? A powerful new tool that combines Java and Quarkus. Ok, prep a warm drink and put on some soft music and let's find out why Roq is so cool with the comfort of Quarkus Dev Mode and all its eco-system. Bonus: a touch of TailwindCss to make it look great! The post Discover Roq, the Quarkus Way for Static Site Generation in Java appeared first on JVM Advent.

## Nice and Naughty Cases of Pattern Matching

DevFeed: [Nice and Naughty Cases of Pattern Matching](<https://devfeed.tech/articles/nice-and-naughty-cases-of-pattern-matching-23025.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/nice-and-naughty-cases-of-pattern-matching.html>)

Author: Cay Horstmann

Published: 2025-12-08T02:02:26Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [pattern matching](<https://devfeed.tech/topics/pattern-matching.md>), [exhaustive matching](<https://devfeed.tech/topics/exhaustive-matching.md>), [sealed interface](<https://devfeed.tech/topics/sealed-interface.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [data](<https://devfeed.tech/tags/data.md>), [enum](<https://devfeed.tech/tags/enum.md>), [exhaustive](<https://devfeed.tech/tags/exhaustive.md>), [expression](<https://devfeed.tech/tags/expression.md>), [hierarchy](<https://devfeed.tech/tags/hierarchy.md>), [interface](<https://devfeed.tech/tags/interface.md>), [java](<https://devfeed.tech/tags/java.md>), [json](<https://devfeed.tech/tags/json.md>), [pattern-matching](<https://devfeed.tech/tags/pattern-matching.md>), [records](<https://devfeed.tech/tags/records.md>), [sealed](<https://devfeed.tech/tags/sealed.md>), [switch](<https://devfeed.tech/tags/switch.md>)

### AI overview

Java pattern matching is most useful when the data is modeled as a sealed hierarchy of interfaces and records; the excerpt says this style is worthwhile when it fits the problem domain. A JSON example represents leaves as records or finite enums and other types as sealed interfaces, then uses a switch expression with record and constant patterns. The switch is exhaustive, as switch expressions must cover every possible selector value. The excerpt introduces antipatterns and legacy switch corner cases but does not provide their details.

### Source excerpt

Since Java 14, the Java switch and instanceof statements have been enhanced, in multiple phases, to support pattern matching and a "data-oriented" programming style. In this article, I explore when this programming style is beneficial, and why. I look at the sweet spot of perfect pattern usage, absolute antipatterns where it should not be used, [...] The post Nice and Naughty Cases of Pattern Matching appeared first on JVM Advent.

## Java Hello World, LLVM Edition

DevFeed: [Java Hello World, LLVM Edition](<https://devfeed.tech/articles/java-hello-world-llvm-edition-23022.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/java-hello-world-llvm-edition.html>)

Author: James Hamilton

Published: 2025-12-07T02:02:37Z

Content type: tutorial

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [LLVM](<https://devfeed.tech/topics/llvm.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [api](<https://devfeed.tech/tags/api.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [clang](<https://devfeed.tech/tags/clang.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [core-libraries](<https://devfeed.tech/tags/core-libraries.md>), [debian](<https://devfeed.tech/tags/debian.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [ir](<https://devfeed.tech/tags/ir.md>), [java](<https://devfeed.tech/tags/java.md>), [java-advent](<https://devfeed.tech/tags/java-advent.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [jit](<https://devfeed.tech/tags/jit.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [libc](<https://devfeed.tech/tags/libc.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [llvm-ir](<https://devfeed.tech/tags/llvm-ir.md>), [machine](<https://devfeed.tech/tags/machine.md>), [memory](<https://devfeed.tech/tags/memory.md>)

### AI overview

The article shows how to generate and run LLVM IR from Java instead of generating Java bytecode. Using Java's Foreign Function & Memory (FFM) API, it calls the LLVM C API to build a "Hello, World!" program and JIT-compile it to native code. The excerpt explains that LLVM IR is a strongly typed, SSA-based intermediate language with in-memory, bitcode, and readable assembly forms. It describes installing LLVM's shared libraries and headers locally, then introduces a textual IR example that can be run with `lli`; the example uses a global string, declares libc's `puts`, defines `main`, and calls `puts`. The excerpt ends as it begins introducing the FFM API, so implementation details beyond this setup are not available.

### Source excerpt

After exploring Java bytecode in previous years (2022, 2023, 2024), this year we'll take an unexpected detour for a Java advent: instead of generating Java bytecode, we'll use Java to build and execute LLVM IR, the intermediate language behind compilers like clang. Using Java's Foreign Function & Memory (FFM) API, we'll call the LLVM C [...] The post Java Hello World, LLVM Edition appeared first on JVM Advent.

## Comparing transitive dependency version resolution in Rust and Java

DevFeed: [Comparing transitive dependency version resolution in Rust and Java](<https://devfeed.tech/articles/comparing-transitive-dependency-version-resolution-in-rust-and-java-23014.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/comparing-transitive-dependency-version-resolution-in-rust-and-java.html>)

Author: Nicolas Fränkel

Published: 2025-12-06T02:02:51Z

Content type: comparison

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Dependency management](<https://devfeed.tech/topics/dependency-management.md>), [Java](<https://devfeed.tech/topics/java.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [build](<https://devfeed.tech/tags/build.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [c](<https://devfeed.tech/tags/c.md>), [class](<https://devfeed.tech/tags/class.md>), [compare](<https://devfeed.tech/tags/compare.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [domain](<https://devfeed.tech/tags/domain.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [rust](<https://devfeed.tech/tags/rust.md>), [transitive-dependencies](<https://devfeed.tech/tags/transitive-dependencies.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The excerpt frames the key difference as how Java and Rust resolve a transitive dependency requested in different versions. For Java at runtime, the JVM searches the configured classpath in order for each class: it loads the first matching class it finds, even if another version appears later, and fails if no match exists. This is an ordered, per-class mechanism. The excerpt ends before describing Java build-time resolution or Rust's behavior, so it does not support a full comparison.

### Source excerpt

You learn by comparing to what you already know. I was recently bitten by assuming Rust worked as Java regarding transitive dependency version resolution. In this post, I want to compare the two. Dependencies, transitivity, and version resolution Before diving into the specifics of each stack, let's describe the domain and the problems that come [...] The post Comparing transitive dependency version resolution in Rust and Java appeared first on JVM Advent.

## Beyond x86: Java on ARM in 2025

DevFeed: [Beyond x86: Java on ARM in 2025](<https://devfeed.tech/articles/beyond-x86-java-on-arm-in-2025-23011.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/beyond-x86-java-on-arm-in-2025.html>)

Author: Artur Skowronski

Published: 2025-12-05T02:02:36Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Arm](<https://devfeed.tech/topics/arm.md>), [Java](<https://devfeed.tech/topics/java.md>), [x86](<https://devfeed.tech/topics/x86.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [2025](<https://devfeed.tech/tags/2025.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [arm](<https://devfeed.tech/tags/arm.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [java](<https://devfeed.tech/tags/java.md>), [processors](<https://devfeed.tech/tags/processors.md>), [x86](<https://devfeed.tech/tags/x86.md>)

### AI overview

The article examines why Java on ARM is becoming more relevant for backend and server workloads in 2025. It discusses ARM's historical association with mobile and embedded devices, Apple's transition to ARM-based Macs, and the development of the Neoverse architecture for data centers, while noting the JVM ecosystem's gradual adaptation.

### Source excerpt

We all know the mantra: "Write Once, Run Anywhere." But for most of Java's history, that "Anywhere" really meant "anywhere, as long as there's Intel or AMD underneath." When most of us were starting out with Java, ARM was something you associated with phones, a Raspberry Pi, or some mysterious "embedded" device - not with [...] The post Beyond x86: Java on ARM in 2025 appeared first on JVM Advent.

## Test Your Test

DevFeed: [Test Your Test](<https://devfeed.tech/articles/test-your-test-23032.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/test-your-test.html>)

Author: Andres Sacco

Published: 2025-12-04T02:02:10Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [mutation-testing](<https://devfeed.tech/topics/mutation-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [application](<https://devfeed.tech/tags/application.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [code](<https://devfeed.tech/tags/code.md>), [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [defects](<https://devfeed.tech/tags/defects.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [developers](<https://devfeed.tech/tags/developers.md>), [effective](<https://devfeed.tech/tags/effective.md>), [effectiveness](<https://devfeed.tech/tags/effectiveness.md>), [integration](<https://devfeed.tech/tags/integration.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [mutation](<https://devfeed.tech/tags/mutation.md>), [mutation-testing](<https://devfeed.tech/tags/mutation-testing.md>), [sonar](<https://devfeed.tech/tags/sonar.md>), [test](<https://devfeed.tech/tags/test.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [tools](<https://devfeed.tech/tags/tools.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

### AI overview

High code coverage does not show whether tests would catch defects: tests can execute code without checking important outcomes. The excerpt illustrates a production incident in which existing tests did not detect a problematic change, then introduces mutation testing as a way to assess test effectiveness. It makes small, controlled code changes--mutants, such as flipping a boolean condition, changing an arithmetic operator, or removing a method call--and checks whether the existing tests detect them. This evaluates the tests' ability to catch meaningful defects rather than simply measuring which lines ran. The excerpt does not provide implementation steps or compare mutation testing tools.

### Source excerpt

Creating or modifying an application involves many aspects, such as following best practices and applying design patterns to solve everyday problems. After writing the code, developers usually add unit tests and rely on tools like Sonar to track metrics such as code coverage and highlight potentially untested areas. However, high test coverage does not guarantee [...] The post Test Your Test appeared first on JVM Advent.

## How Understanding Request Flow in Spring Boot Changed the Way I Code

DevFeed: [How Understanding Request Flow in Spring Boot Changed the Way I Code](<https://devfeed.tech/articles/how-understanding-request-flow-in-spring-boot-changed-the-way-i-code-23021.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/how-understanding-request-flow-in-spring-boot-changed-the-way-i-code.html>)

Author: Mohammed

Published: 2025-12-03T02:02:20Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Code Modularity](<https://devfeed.tech/topics/code-modularity.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backend](<https://devfeed.tech/tags/backend.md>), [backend-development](<https://devfeed.tech/tags/backend-development.md>), [controllers](<https://devfeed.tech/tags/controllers.md>), [database](<https://devfeed.tech/tags/database.md>), [di](<https://devfeed.tech/tags/di.md>), [file](<https://devfeed.tech/tags/file.md>), [flow](<https://devfeed.tech/tags/flow.md>), [java](<https://devfeed.tech/tags/java.md>), [java-advent](<https://devfeed.tech/tags/java-advent.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [layers](<https://devfeed.tech/tags/layers.md>), [logic](<https://devfeed.tech/tags/logic.md>), [programming](<https://devfeed.tech/tags/programming.md>), [project](<https://devfeed.tech/tags/project.md>), [request](<https://devfeed.tech/tags/request.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [springboot](<https://devfeed.tech/tags/springboot.md>), [structure](<https://devfeed.tech/tags/structure.md>)

### AI overview

Tracing a Spring Boot API request through the Controller, Service, Repository, and Database helped the author understand why the framework uses layers. The response returns through those layers. The excerpt describes controllers as focused on receiving requests and returning responses, with business logic in the Service and database interactions in the Repository; Spring Data JPA can generate most repository queries. The author says dependency injection reduces tight coupling and inversion of control manages object lifecycles. This personal account presents the flow as a way to make the architecture understandable and the application easier to organize and maintain.

### Source excerpt

When I first stepped into backend development, I believed programming was only about one thing: "If the output comes, the job is done." I bundled everything into one giant file -- controllers, logic, database access.I didn't understand why Spring insisted on layers or why DI, IoC, and annotations were so important. The project structure looked [...] The post How Understanding Request Flow in Spring Boot Changed the Way I Code appeared first on JVM Advent.

## Quarkus LangChain4j extension from grounds up

DevFeed: [Quarkus LangChain4j extension from grounds up](<https://devfeed.tech/articles/quarkus-langchain4j-extension-from-grounds-up-23027.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/quarkus-langchain4j-extension-from-grounds-up.html>)

Author: Martin Toshev

Published: 2025-12-02T04:33:13Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [langchain4j](<https://devfeed.tech/topics/langchain4j.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-services](<https://devfeed.tech/tags/ai-services.md>), [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [extension](<https://devfeed.tech/tags/extension.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [integration](<https://devfeed.tech/tags/integration.md>), [java](<https://devfeed.tech/tags/java.md>), [langchain4j](<https://devfeed.tech/tags/langchain4j.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [library](<https://devfeed.tech/tags/library.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [rag](<https://devfeed.tech/tags/rag.md>), [templates](<https://devfeed.tech/tags/templates.md>), [vector-stores](<https://devfeed.tech/tags/vector-stores.md>)

### AI overview

The Quarkus LangChain4j extension is presented as a way to simplify LangChain4j use in Quarkus through build-time optimization and native-image support, CDI-based AI service discovery with `@AiService`, type-safe configuration, dev-mode integration, and observability defaults including OpenTelemetry tracing of LLM calls. The excerpt introduces an example healthcare agent that uses a description of medical conditions to predict which physician at a target hospital to visit; it ends before explaining the implementation or results.

### Source excerpt

LangChain4j is a top (if not the top) library in use for integrating Java applications with various LLMs (large language models). It provides a number of features such as a unified API for LLM integration, support for vector stores, prompt templates, RAG (retrievalaugmented generation) and more. While we can use it directly in popular frameworks [...] The post Quarkus LangChain4j extension from grounds up appeared first on JVM Advent.

## Lighting the Way: Java, AI, and a Season of New Ideas

DevFeed: [Lighting the Way: Java, AI, and a Season of New Ideas](<https://devfeed.tech/articles/lighting-the-way-java-ai-and-a-season-of-new-ideas-23023.md>)

Original publisher: [Read original article](<https://www.javaadvent.com/2025/12/lighting-the-way-java-ai-and-a-season-of-new-ideas.html>)

Author: Markus Eisele

Published: 2025-12-01T01:00:25Z

Content type: article

Language: en

Sources: [Java Advent Calendar](<https://devfeed.tech/sources/java-advent-calendar.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [langchain4j](<https://devfeed.tech/topics/langchain4j.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [ai](<https://devfeed.tech/tags/ai.md>), [community](<https://devfeed.tech/tags/community.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [java](<https://devfeed.tech/tags/java.md>), [langchain4j](<https://devfeed.tech/tags/langchain4j.md>), [llms](<https://devfeed.tech/tags/llms.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [patterns](<https://devfeed.tech/tags/patterns.md>)

### AI overview

The excerpt presents the 2025 Java Advent Calendar as a 24-day exchange of community ideas and practical work. It says Java developers have tested and measured AI approaches and built frameworks and patterns for production use, naming Quarkus and LangChain4j. Its concrete example begins with LangChain4j's "model as a service" pattern: treat the chat model as an external dependency with its own behavior, latency, and failure modes; in Quarkus, configuration wires the model and CDI lets developers inject it like another bean. The excerpt ends mid-example, so it does not show the remaining implementation or discuss comparative tradeoffs.

### Source excerpt

When December arrives, I always feel the same mix of nostalgia and excitement. The year starts to slow down, calendars fill with end-of-year meetings, and yet this is when the Java community does something uniquely joyful. We show up every day for 24 days and share what we've learned, built, discovered, and struggled with. It's [...] The post Lighting the Way: Java, AI, and a Season of New Ideas appeared first on JVM Advent.