Conference India 2026 β€’ Nov 25, 2026 β€’ Session details

Practical Python AI on the JVM with GraalPy and Pyronaut

Sachin Pikle

Stop spinning up separate microservices just to use Python AI in your Java apps. Embed Python directly into the JVM with GraalPy and Pyronaut to eliminate network latency and outpace FastAPI.

Starting at 1:57 Β· Watch from the beginning

Pause
Mute Enter Fullscreen
#1 about 2 min

Combining Java and Python ecosystems on the JVM

Running separate microservices for Java and Python introduces network latency and operational overhead, which can be avoided by combining Maven Central and PyPI libraries within a single JVM application.

#2 about 2 min

Embedding Python inside the JVM using GraalPy

GraalPy provides a Truffle-based Python 3 runtime with JIT compilation, native image compatibility, and sandboxed in-process interoperability between Java and Python.

#3 about 7 min

Building a sentiment analysis application with Micronaut and GraalPy

The GraalPy Maven plugin and Micronaut integration enable pinning PyPI dependencies like VADER in pom.xml and injecting Python modules directly into Java interfaces.

#4 about 2 min

Introducing Pyronaut for high-performance Python applications on Micronaut

Pyronaut reverses the integration model by allowing developers to write Python applications that leverage Micronaut features like Netty, ahead-of-time compilation, and cloud SDKs.

#5 about 4 min

Running a Pyronaut application with Oracle Database and Testcontainers

Pyronaut automatically generates OpenAPI documentation and integrates with Testcontainers to provision an Oracle database on the fly for storing sentiment analysis results.

#6 about 5 min

Implementing controllers, data validation, and repositories in Python

Using Micronaut Data and Jakarta validation annotations within Python classes eliminates boilerplate code for JSON serialization, input validation, and SQL query generation.

#7 about 3 min

Testing and packaging Pyronaut applications for deployment

Pyronaut integrates with pytest fixtures for dependency-injected testing, uses pyproject.toml for configuration, and packages applications as wheels, containers, or GraalVM native images.

#8 about 4 min

Comparing Pyronaut performance benchmarks and package compatibility

Benchmarks demonstrate higher throughput for Pyronaut compared to FastAPI and Flask, alongside broad compatibility with major Python AI libraries like NumPy and SciPy.

Matching moments

1:35 min

Addressing the Python bias in AI frameworks for Java

Daniel Oh Daniel Oh Β· World Congress 2025

2:21 min

Rise of Python in real-time data processing

Bobur Umurzokov Β· LIVE

2:54 min

Utilizing Java frameworks to interface with AI models

Mary Grygleski Mary Grygleski Β· LIVE

1:06 min

Choosing the right language for AI workloads

Marc Arndt Marc Arndt Β· World Congress 2026 Europe

1:22 min

Choosing Java over Python for enterprise AI ecosystems

Alex Soto Alex Soto Β· World Congress 2025

4:29 min

The versatility of Python across tech domains

Developersteve Coochin Β· LIVE