Supercharge your Java Applications with Python!
summary
Demonstrates embedding Python into Java using GraalPy as two Maven dependencies, plus Gradle/Maven plugins that bundle pip packages into the jar; builds a Micronaut sentiment endpoint wired to VaderSentiment (no Python source files) and a QR-code generator via the Python QR library, both working in-process. Shows debugging with DAP, image processing via Photon via WASM called through a JS wrapper (≈130 req/s, ~60 ms round‑trip, WASM inner ~15 ms), and performance fixes using Apache Arrow to cut a copy-bound job from about 12 minutes to ~30 seconds.
AI-written summary · about
chapters (14)
- 0:00Polyglot Java apps intro
- 2:06GraalVM polyglot languages
- 4:36Python in Java quick start
- 6:02Python packages in Java builds
- 9:36Micronaut with Python
- 10:39Sentiment analysis demo
- 15:20Debugging Python in Java
- 18:10Embedding vs microservices
- 22:51Python native extensions
- 27:26Memory with Apache Arrow
- 31:58WebAssembly demo
- 35:30Java to WASM performance
- 37:17GraalVM languages status
- 39:48Q&A
related talks
53mEmpower your Spring Applications with Python Features on GraalVM
49mGraalVM Scripting Languages as Maven Dependencies
27mPython and the JVM - A Love Story
46m10 Incredible Things you can do with Micronaut & GraalVM
56mJourney from Java to Python: Two Worlds, One JEP
48mRevolutionizing Java-based Applications with GraalVM.
46mGraalVM and MicroProfile: A Polyglot Microservices Solution
31mAdding Python support to Scala tooling
