Java News
Level Up Your LangChain4j Apps for ProductionThis session demonstrates how LangChain4j can help, showcasing a set of often overlooked techniques that keep AI systems on track and unlock more advanced use cases. We explore LangChain4j’s advanced RAG methods for finding all relevant information across documents, databases, APIs, and more, and share practical tips for effective tool calls and responsible MCP usage. You will also see how LangChain4j’s agentic approach lets you decompose complex workflows for greater clarity and control. The presentation wraps up with a guided build of a production-ready agentic system, including the operational and legal considerations that matter once you move beyond PoC.
Read MoreEpisode 44 “Java, Collections & Generics, BeJUG”
In this special episode of the Inside Java Podcast, Nicolai Parlog talks to Adam Bien about scripting with Java, to Maurice Naftalin about the history and tradeoffs of the collections framework and erasure, and to Tom Cools about the innovative way the Belgian Java User Group organizes itself.
Read MoreData-Oriented Programming for Java: Beyond Records
Records, sealed classes, and destructuring with record patterns constitute the first feature arc of “data-oriented programming” for Java. After considering numerous design ideas, we’re now ready to move forward with the next “data oriented programming” feature arc: carrier classes (and interfaces.)
Read MoreOracle Java Extension for Visual Studio Code Version 25.0.1 Is Now Available!
New release of Java Platform Extension for VS Code
Read MoreCarrier Classes; Beyond Records - Inside Java Newscast #105
This episode presents Project Amber lead Brian Goetz’s recent email “Data Oriented Programming, Beyond Records”, wherein he describes plans to improve Java’s data handling capabilities by introducing carrier classes, a generalization of records.
Read MoreOptimizing GPU Programs from Java using Babylon and HAT
The Heterogeneous Accelerator Toolkit (HAT) is a parallel programming framework that allows Java developers to offload Java code and dispatch the generated code on modern hardware accelerators, such as Graphics Processing Units (GPUs). This article provides an overview of the HAT programming model: using matrix-multiplication as an example, we demonstrate how Java developers can tune GPU workloads from the Java side to achieve performance close to native cuBLAS, scaling from 7 GFLOP/s on CPUs to 14 TFLOP/s on an NVIDIA A10 GPU.
Read More1B Rows with the Memory API - JEP Cafe #25
In this JEP Café episode, we take on the well-known '1 Billion Rows Challenge' and implement it using the standard Memory API introduced in JDK 22. The goal of this implementation is not to break any speed records, but to show you how can process binary data using standard patterns offered by the JDK, in a clean and efficient way.
Read MoreOne Giant Leap: 95% Less Sampling Cost
The public standard in Linux for reading thread CPU time is the computational equivalent of printing a spreadsheet to paper, then scanning it with a camera, only to digitize it back into a spreadsheet just to read a value. It works, but it destroys throughput. I recently integrated a patch into OpenJDK that replaces this legacy logic with direct calls. The result is a 20x speedup for thread monitoring of user CPU time. Here is the story behind the optimization and why "everything is a file" isn't the right philosophy for performance.
Read MoreThe Static Dynamic JVM – A Many Layered Dive #JVMLS
Dive deep into the Java Virtual Machine and discover how it masterfully balances static analysis with dynamic execution. John Rose explores what makes the JVM both powerful and efficient, from theoretical computer science to real-world optimization techniques.
Read MoreRun Into the New Year with Java’s Ahead-of-Time Cache Optimizations
As a new year begins, turn your focus to boosting your Java application performance by applying Leyden-related features added in recent JDK releases. This article guides you on how to use Ahead-of-Time cache optimizations in your application, thereby minimizing startup time and achieving faster peak performance.
Read MoreSourced from https://inside.java via RSS.