Building High Performance Microservices for Java with Micronaut & GraalVM
summary
Shows how Micronaut + GraalVM native image compiles a Micronaut app into a native executable using Gradle, removes dead code, and avoids runtime reflection by generating DI and repository code at compile time. Demo builds a REST + JDBC app, runs Flyway migrations against Oracle Autonomous Database, and produces an executable that starts in ~9s and uses ~84MB (jar was ~270MB). Everything compiles and the native binary runs and passes tests.
AI-written summary · about
chapters (11)
- 0:00Introduction to Micronaut
- 1:10Micronaut vs. Spring
- 5:56Micronaut and GraalVM
- 8:41GraalVM fundamentals
- 12:18Live demo project setup
- 19:01Data model and entities
- 23:36Repositories implementation
- 27:57Dependency injection and beans
- 33:18Unit testing the backend
- 40:05Creating controllers
- 47:11Building and wrapping up
related talks
42mBuilding Optimized Java Microservices with Micronaut 3 & GraalVM
44mUnleash the power of your applications with Micronaut and GraalVM
50mUnleash the power of your applications with Micronaut and GraalVM
45mUnleash the power of your applications with Micronaut & GraalVM
46mUnleash the power of your applications with Micronaut and GraalVM
49mBuilding Optimized Java Microservices with Micronaut 4 & GraalVM
55mUnleash the power of your applications with Micronaut and GraalVM
02h 48mCloud Native apps with Micronaut 4 and GraalVM
