r/foojay • • 2h ago

Getting Started with TornadoVM 8.2.0: SDKMAN!, Maven and JBang

Thumbnail
foojay.io
2 Upvotes

We just published an article by Thanos Stratikopoulos that explains three ways to start with TornadoVM 8.2.0 for running Java on GPUs.

It covers installing the SDK with SDKMAN!, adding plain Maven dependencies with no SDK, and running a single Java file with JBang. It also lists what changed since 2.0: no more JVMCI or JNI, support for JDK 21 to JDK 27, the TC compiler, and the new experimental AMD HIP backend alongside OpenCL, CUDA and Metal.

The article includes the SDKMAN! version names per platform, the Maven dependencies, the run options, and a HelloTornado vector add example.

https://foojay.io/today/getting-started-with-tornadovm-8-2-0-sdkman-maven-jbang/


r/foojay • • 2h ago

A Modern Java Developer's Guide for Google Cloud Databases

Thumbnail
foojay.io
1 Upvotes

We published an article by Alexis Moussine-Pouchkine that introduces a series for Java developers moving from on-premises databases to Google Cloud. It explains that you can keep your stack: AlloyDB, Cloud SQL, Spanner and Firestore all work with standard JDBC, HikariCP and frameworks like Spring Boot, Quarkus and Micronaut.

It covers the main Java integration method for each service, includes a summary matrix, and outlines the upcoming posts, which will use Spring Boot as the primary framework.

Read it here: https://foojay.io/today/a-modern-java-developers-guide-for-google-cloud-databases/


r/foojay • • 2h ago

Quarkus 4 is out: Java 21 baseline, Vert.x 5, experimental HTTP/3

Thumbnail
foojay.io
1 Upvotes

On Foojay, Loïc Magnette explains what Quarkus 4.0 changes and what you need to check before upgrading. He tried it from the first beta through the 4.0.1 platform BOM and notes where things behaved differently than expected.

Topics covered:

  • Java 21 is the new minimum, Java 25 is recommended
  • A build-time property to run REST endpoints on virtual threads
  • Vert.x 5 and Netty 4.2 as the new networking layer
  • Experimental HTTP/3 through the quarkus-http3 extension, including the auto-generated dev certificate and the RestAssured test failure it can cause
  • gRPC now runs on the main HTTP server, so port 9000 is gone
  • The release timeline and the proposed 4.3 LTS

Read the full article: https://foojay.io/today/quarkus-4-whats-new-and-migration-guide/

Quarkus #Java #VirtualThreads


r/foojay • • 2h ago

Writing a Java CRUD Screen with Zero Frontend Code: Mateu 3.0

Thumbnail
foojay.io
1 Upvotes

Miguel Pérez Colom, the author of Mateu, wrote an article for Foojay on building a back office screen without frontend code. Mateu is open source (Apache 2.0). You declare a screen's fields, rules and actions, and it derives the screen. Version 3.0.0 is the first release with a stable public API.

The article builds a product catalogue step by step. It has a listing with search, filters, sorting and paging, plus create, record and edit pages, validation and delete. It uses five small Java files and no HTML, CSS, JavaScript or TypeScript. It also explains where the approach does not fit.

https://foojay.io/today/writing-a-java-crud-screen-with-zero-frontend-code-mateu-3/


r/foojay • • 1d ago

Spring Boot 4.2 upgrade: what changes if you only bump the version

Thumbnail
foojay.io
3 Upvotes

On Foojay we published an article by Mikhail Polivakha on what can change when you upgrade a service from Spring Boot 4.1 to 4.2. It is based on the official release notes. It covers RestTemplate deprecation and the move to RestClient, faster startup for executable JARs, and how the old spring-boot-starter-amqp now relates to AMQP 1.0, with RabbitMQ now spread across three starters. It also looks at the new OpenTelemetry settings for a common OTLP endpoint and opt-in semantic conventions, which may affect dashboards and alerts.

Read the full article here: https://foojay.io/today/spring-boot-4-2/

SpringBoot #Java #RabbitMQ


r/foojay • • 1d ago

One character at a time: a 7× regression in DHIS2

Thumbnail
foojay.io
1 Upvotes

We just published an article by Andrey Minogin, who audited the dataValueSets export API in DHIS2. On the same machine, database and request, exporting JSON in 2.43.1 took 23.79 s against 3.25 s in 2.42.5.2. CSV got slower too, but far less.

He changes one variable at a time (format, compression, time window, version) to narrow down the cause. The JFR profile points to json-tree 1.8.1, which writes through a PrintStream that flushes on every character. The article also covers how he used Claude Code, what he reported upstream, and a workaround for 2.43 users.

Read it here: https://foojay.io/today/one-character-at-a-time-a-7x-regression-in-dhis2/

Andrey Minogin


r/foojay • • 1d ago

SIGILL on Startup: How the JDK AOT Cache Crashed Axelix in Docker

Thumbnail
foojay.io
1 Upvotes

On Foojay, Artemy Degtyarev explains why some users of Axelix Master saw the JVM die with SIGILL at startup. The crash pointed to ~AdapterBlob and a vector instruction the CPU did not have: SVE on ARM64, AVX on x86-64.

The cause is the AOT cache in JDK 25. With AOTAdapterCaching on by default, adapters are stored as machine code generated for the CPU that built the cache. The JVM did not check CPU features within the same architecture, so a cache built on a machine with more features was accepted on one with fewer. The article covers how the multi-platform Docker build led to this, and what the team did about it.

Read the full article: https://foojay.io/today/aot-cache-sigill/


r/foojay • • 2d ago

Zero-boilerplate Jakarta EE tests with Arquillian, TestContainers and FlowLogix

Thumbnail
foojay.io
3 Upvotes

Lenny Primak wrote an article for Foojay on testing Jakarta EE applications without the usual setup code. It was sponsored by Flow Logix.

Arquillian runs tests inside a real application server, with real injection, transactions and database connections. The article explains how a base POM, a dependency chain and the FlowLogix components replace the long dependency list, arquillian.xml and the @Deployment method.

It covers:

  • One deployment for the whole suite, 2.4 times faster in a ten-class sample
  • Three ways to run the server, including TestContainers
  • Database tests with no mocks
  • Browser tests with Drone and Graphene

https://foojay.io/today/no-boilerplate-jee-testing/


r/foojay • • 2d ago

An Introduction to OpenID AuthZEN and authzen-enforcer, a Java SDK

Thumbnail
foojay.io
2 Upvotes

On Foojay, Hüseyin Akdoğan explains AuthZEN, the OpenID Foundation's Authorization API 1.0, approved as a Final Specification in January 2026. It standardizes how a Policy Enforcement Point asks a Policy Decision Point for decisions, so applications are no longer tied to one vendor's API such as OPA, Cerbos, Topaz or Axiomatics.

The article covers the subject, action, resource and context model, the single and batch evaluation APIs, the Search APIs, and how a PEP discovers the PDP's endpoints. It also introduces authzen-enforcer, the open source Java SDK the author built to bring AuthZEN to Java and Spring Boot applications.

Read the full article: https://foojay.io/today/an-introduction-to-openid-authzen-and-authzen-enforcer/


r/foojay • • 2d ago

Type-Safe SQL with jOOQ and Embedded Analytics with DuckDB

Thumbnail
foojay.io
2 Upvotes

We just published an article by Geertjan Wielenga on using jOOQ with DuckDB in Java. jOOQ generates type-safe SQL, and DuckDB is an embedded analytical engine, so you get data processing without running a separate database server.

The article explains how to start with only Java 21+ and curl, or with Maven, using jOOQ 3.21.9 and DuckDB 2.0. It shows a single-file example, the move from plain SQL strings to generated code for full compile-time checks, and querying CSV and Parquet files directly. It also covers DuckDB 2.0 changes, including the new storage format that 1.x can't read.

https://foojay.io/today/jooq-with-duckdb/


r/foojay • • 2d ago

Foojay Podcast #106: How AI changes the way Java developers work

Thumbnail
foojay.io
1 Upvotes

In episode 106 of the Foojay Podcast, Frank Delporte (u/FrankCodeWriter) plays interviews recorded at the JFall conference in the Netherlands with Adam Bien, Maaike van Putten, Sayf Jawad and Stéphane Philippart. He then discusses them with Anton Arhipov, developer advocate at JetBrains.

Topics covered:

  • Why code quality still matters when an agent writes the code
  • Guardrails like the compiler, static analysis and ArchUnit
  • Taking an AI-generated proof of concept to production
  • Where the next senior developers will come from
  • The cost of AI and whether local models are the answer
  • Parallel AI sessions and asking the AI to explain its changes

Listen here: https://foojay.io/today/foojay-podcast-106/


r/foojay • • 2d ago

JavaFX Links of November 2026: releases, fixes and community apps

Thumbnail
foojay.io
6 Upvotes

We just published the JavaFX Links of November 2026 on Foojay, put together by u/FrankCodeWriter. It covers the month's JavaFX news in one place.

Core news includes JavaFX 28 Early-Access Build 17, the JavaFX 27.0.1.1 release notes, and several integrated fixes such as GStreamer 1.28.8, ICU4C 79.1 and a WebSocket UnsatisfiedLinkError on Linux. Gluon also published the Scene Builder 27.0.0-RC release candidate.

The apps section lists community projects shared this month: Mergi, a PDF suite, a multi-user WhatsApp client, SmartFinder 3.0.0, HoliCur, Klunk 1.0.04, PIM, VisioTheca and more. There are also tools like the Workbench Dark and Light AtlantaFX themes.

Full list here: https://foojay.io/today/javafx-links-of-november-2026/


r/foojay • • 2d ago

Building a Swing LookAndFeel Without Extending BasicLookAndFeel

Thumbnail
foojay.io
2 Upvotes

On Foojay we published an article by Boyd Edmondson that explains how to skip BasicLookAndFeel and extend the abstract LookAndFeel class directly. This gives full control over how Swing components look and behave. Examples include a JButton with snipped corners and vertical text, a JTextArea with mouse hotspots, a custom JToolTip, a pixel fill ProgressMonitor, and a JFrame with an animated background. The author says one developer spent about 3 months replacing all the UI, and that dropping the BasicLookAndFeel overhead made the UI fast and responsive. Application startup took under 2 seconds.

https://foojay.io/today/building-swing-lookandfeel-without-basiclookandfeel/


r/foojay • • 4d ago

Lottie4J 1.5.0 is a speed release: one test animation goes from under 3 fps to 60

Thumbnail
foojay.io
4 Upvotes

On Foojay we published an article by u/FrankCodeWriter about Lottie4J 1.5.0, the Java and JavaFX library for rendering Lottie animations. This release has no new file features and no API changes, it only focuses on performance.

The article explains how the winter-town.json animation (348 layers) went from 360.6 ms to 3.2 ms per frame, about 100 times faster. It covers applying opacity directly instead of using off-screen snapshots, and smaller track mattes. It also looks at a harder file, what didn't work, and the ideas for what's next. Measurements come from an Apple M2 Max with OpenJDK 27 and JavaFX 21.

Upgrading needs no code changes.

https://foojay.io/today/lottie4j-1-5-0-from-3-to-60-frames-per-second/

java #javafx #lottie


r/foojay • • 5d ago

On reviewing AI-generated code: control is partitioned, not lost

Thumbnail
foojay.io
4 Upvotes

We just published a new article on Foojay by Nicolas Frankel. He argues that reviewing every line an AI agent writes does not scale, since agents produce code faster than anyone can read it and defect detection drops as review volume grows.

He compares this to two earlier moments when developers stopped reading: garbage collection in the JVM and open source dependencies. In both cases, control moved to tooling and observation. His proposal is that tools own the mechanical checks, while humans own intent, boundaries, and irreversible changes. He also lists what tools can't see and shares the guardrails he uses in his own flow.

Link: https://foojay.io/today/reviewing-ai-generated-code/


r/foojay • • 5d ago

No-Boilerplate, Warning-Free and Reproducible Builds on Maven 4

Thumbnail
foojay.io
3 Upvotes

We just published an article by Lenny Primak on what changes in daily work with Maven 4. It explains why Maven 4 warns about unlocked plugin versions and how a base POM locks them without a plugin section in your project. It also covers using properties instead of plugin configuration, building multi-module projects without mvn install, parallel builds with mvnd and the build cache, and the Maven Wrapper.

Read it here: https://foojay.io/today/no-boilerplate-maven-4-builds/

Maven #Java #BuildTools


r/foojay • • 5d ago

Token budgets for Spring AI: the problems I didn't expect

Thumbnail
foojay.io
2 Upvotes

On Foojay, Ujjwal Tiwari explains why counting requests is the wrong unit for LLM apps. One HTTP request can trigger forty paid model calls in a tool loop, and a rate limiter only sees one request.

The article covers Token Allowance, a Spring Boot starter that puts token and dollar budgets on Spring AI ChatClient calls, per user, tenant or session, with a cap on model calls per request. It also explains the harder parts: where the advisor check has to sit relative to ToolCallingAdvisor, a race in check-then-call budgeting and how reservations fix it, why costs are stored as micro-dollars in a long, and how OpenAI and Anthropic report input tokens differently.

https://foojay.io/today/building-token-budgets-for-spring-ai-the-problems-i-didnt-expect/

No hashtags are needed, but this fits #SpringAI #Java


r/foojay • • 5d ago

When an agent dies after saying yes: handling a worker that vanishes after AGREE

Thumbnail
foojay.io
2 Upvotes

We published a post by Mauro Mura on what happens in a Contract Net setup when a worker gets kill -9 after the manager awarded it a job. After AGREE the protocol only allows INFORM or FAILURE, and a dead process sends neither.

The article covers the application code in a job dispatcher built on Agenor:

  • A deadline stored in the job's database row, set to twice the worker's estimate plus a margin
  • A check on attempt, assignee and state, so a late result doesn't count
  • Writing the row first, then sending the AGREE
  • A cap of three attempts, so a job that kills its worker doesn't take down every worker

It also has steps to run the demo with Java 21, Maven and Docker or Podman.

https://foojay.io/today/when-an-agent-dies-after-saying-yes/


r/foojay • • 6d ago

Jakarta EE 11 no longer ships an umbrella JAR

Thumbnail
foojay.io
7 Upvotes

On Foojay, Lenny Primak explains that jakarta.jakartaee-api in Jakarta EE 11 is now just a POM that lists the specification JARs. In EE 10, the umbrella JAR held 2,440 class files that were also on the classpath through the individual spec JARs. That caused JPMS split packages and OSGi problems. The article covers why an empty placeholder JAR is still published on Maven Central, how the Platform, Web Profile and Core Profile now depend on each other, and why existing builds keep working without changes.

Link: https://foojay.io/today/jakarta-ee-11-umbrella-jar/

Java #JakartaEE #Maven


r/foojay • • 6d ago

Finally final: embracing JEP 500 and what it means for serializers

Thumbnail
foojay.io
3 Upvotes

On Foojay we published an article by Harald Krake about JEP 500, Prepare to Make Final Mean Final. Since JDK 26, writing a final field through deep reflection still works but prints a warning. A future release will switch the default to deny, and the same call will then throw an IllegalAccessException.

The article explains what this means for serializers, which have long relied on reflection to fill final fields. Harald shows how Tentackle's TRIP protocol now never writes a final field. Only the edges that close a cycle need to be mutable, and everything else can go through a constructor, as records do.

https://foojay.io/today/finally-final-embracing-jep-500/


r/foojay • • 6d ago

What Java4Shell Teaches About Patching Java at AI Speed

Thumbnail
foojay.io
3 Upvotes

We just published a new article on Foojay by Miles Dawborne. It looks at what four Java runtime updates between October 20 and November 17 say about the year ahead. Java has had a security update every month since July, and the article cites 118 Java CVEs fixed so far in 2026.

It explains why a published fix now starts the clock for attackers, and how teams are changing their CI/CD and DevSecOps pipelines in response. The recommendations include keeping a live JVM inventory, using one golden JDK base image per Java version, rebuilding automatically on release, keeping a runtime regression suite, rolling out progressively with rollback, having a mitigation path ready, and defining "done" as verified in the running JVM.

https://foojay.io/today/what-java4shell-teaches-about-patching-java-at-ai-speed/

Java #Security #DevSecOps


r/foojay • • 6d ago

The 148 ms worst-case latency was waiting, not work

Thumbnail
foojay.io
2 Upvotes

On Foojay, Arkadiusz Przychocki looks into a 148 to 178 ms worst request that kept showing up for the Exeris arm of his single-row read benchmark. The JVM never stopped for anything close to that, and the longest GC pause was 23 ms. In a closed-loop wrk run, the mean it reported was 5.61 ms, while Little's law caps the real mean at 2.25 ms. Measured open-loop at a declared rate, the worst request was about 26 ms.

The article also covers a correctly configured open-loop run that still reported a 2.4 s p99 for a stack whose real tail was about 2 ms, with two heavyweight JVMs resident on the same box. The author explains what he changed in the harness afterwards and what it still does not catch.

Written by Arkadiusz Przychocki

https://foojay.io/today/the-148-ms-was-waiting-not-work/

benchmarking #java #performance


r/foojay • • 7d ago

Driving FFmpeg from Java without deadlocks or broken files

3 Upvotes

We just published an article by Mark Santos on running FFmpeg from Java with ProcessBuilder. The code looks fine on a ten-second test clip, then hangs on a ten-minute file. The cause is the stderr pipe: it has a 64 KiB buffer, and once FFmpeg fills it, FFmpeg blocks and waitFor never returns.

The article explains three ways out: Redirect.DISCARD, INHERIT or to(file), redirectErrorStream(true), and reading stdout and stderr at the same time with a virtual thread. It also shows how to map ffprobe JSON onto records with Jackson. All examples were run on OpenJDK 21 and 27, and the test media comes from FFmpeg's own generators.

Author: Mark Santos

Read it here: https://foojay.io/today/driving-ffmpeg-from-java/


r/foojay • • 7d ago

Feature Toggles in Java, Without the If-Else

2 Upvotes

We just published an article by Kamran Zafar on how feature toggles tend to make code worse over time. The usual if (features.isEnabled(...)) pattern spreads across the codebase, multiplies code paths, fails silently on typos, and makes removal tedious.

The article explains a design approach that needs no library: toggle at a seam by putting each version behind an interface, decide in exactly one router class, make removal a deletion, keep feature names as constants and check them at startup, and treat toggle evaluation as infrastructure with a defined failure mode.

https://foojay.io/today/feature-toggles-in-java-without-the-if-else/


r/foojay • • 7d ago

Java4Shell: are we exposed? Steve Poole on an AI-assisted JVM vulnerability

1 Upvotes

We published an article by u/Steve Poole on Java4Shell (CVE-2026-114938), a memory corruption bug in HotSpot's accelerated Base64 decoder. Fixes shipped on 17 November. Calif found it by pointing OpenAI Codex at HotSpot for about 200 dollars of tokens.

The article explains what has to line up to be vulnerable: the runtime build, an x86-64 CPU with AVX-512 VBMI and BW, and attacker-controlled data reaching java.util.Base64.Decoder. Crashing a JVM is easy, full RCE is hard.

Steve also built two container images, one with a full JDK and one with a jlink runtime, and ran Syft, Trivy and Grype on them. Syft loses build details on the jlink image, and Trivy finds no JVM component at all.

https://foojay.io/today/java4shell-are-we-exposed/