Building Optimized Java Microservices with Micronaut 3 & GraalVM
summary
Demonstrates building a Java REST microservice with Micronaut 3 and Micronaut Data JDBC using Java 17 records, H2 in-memory DB and Gradle, then compiling to a GraalVM Native Image. Claims include 37 ms startup and ~17 MB memory for the native binary. Shows compile-time checks (no runtime reflection), generated repository queries, runnable JAR and Docker packaging, and that native image build produces a small, fast executable suitable for serverless, IoT, and low-memory containers.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:10Graeme Rocher
- 0:53Micronaut
- 2:53General Purpose Programming Model
- 13:15Junit 5 Test
- 14:26Continuous Mode
- 22:33Micronaut Data
- 24:01Micro Data Jdbc
- 27:12Constructor Injection
- 27:46Event Listener
- 36:59Quick Build Mode
- 39:06Memory Usage
- 39:17Memory Consumption
- 39:40Getting Started
- 40:39Summary
related talks
53mBuilding High Performance Microservices for Java with Micronaut & GraalVM
49mBuilding Optimized Java Microservices with Micronaut 4 & GraalVM
44mUnleash the power of your applications with Micronaut and GraalVM
50mUnleash the power of your applications with Micronaut and GraalVM
45mFast and Efficient Microservices with GraalVM
45mUnleash the power of your applications with Micronaut & GraalVM
46mUnleash the power of your applications with Micronaut and GraalVM
50mCloud native Java microservices with GraalVM
