r/foojay • • 2h ago

Jakarta EE 11 no longer ships an umbrella JAR

Thumbnail
foojay.io
2 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 • • 2h ago

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

Thumbnail
foojay.io
1 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 • • 2h ago

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

Thumbnail
foojay.io
1 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 • • 2h ago

What Java4Shell Teaches About Patching Java at AI Speed

Thumbnail
foojay.io
1 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