Java Cup
Inside Java

News and views from members of the Java team at Oracle

Java and the Next Generation of Programming Models

Modern software increasingly interacts with AI models, query languages, and other specialized programming models, forcing you to switch contexts, embed foreign code, or write verbose wrappers to bridge the gap. What if you could express logic from outside the JVM directly in Java?

In this session, we start by looking at how Java enables you to safely interact with runtimes outside of the JVM using the Foreign Function and Memory API and tools like jextract. Then will push further with Project Babylon’s code reflection: express AI models as Java programs that Babylon can analyze, transform and lower to inference engines, thus leveraging hardware accelerator backends while skipping external model files or the need to glue code.

Along the way, you will learn how to build expressive FFM-based inference today and author pure Java AI-ready models with Code Reflection tomorrow!

Recorded at Devoxx Belgium 2026.