Micronaut Advanced DI & AOP
summary
Build-time DI and AOP with Micronaut 2.3 compiles injection metadata and proxies at compile time so apps run without reflection or runtime proxies; demos build a CLI app with Gradle, wire a Vehicle/Engine domain, add singleton beans, factories, and @Named injection driven by application.yaml and environment. GraalVM native image support yields 20–30% throughput gains and fast startup. An @Around interceptor publishes EngineStart events (shown working) and async listeners handle them without blocking the start method.
AI-written summary · about
chapters (20)
- 0:00Introduction to Micronaut
- 1:05Micronaut build-time DI features
- 3:51Setting up a Micronaut project
- 6:19Basic dependency injection
- 8:28Creating domain models
- 10:36Fixing bean injection errors
- 12:21Startup events and application context
- 14:08Configurable dependency injection
- 17:22Testing configuration changes
- 19:55Immutable configuration properties
- 20:58Named beans and dynamic injection
- 22:25Environment-specific beans
- 24:30Cloud-aware bean selection
- 25:53Cloud-specific configurations
- 27:00Introduction to AOP in Micronaut
- 29:07Applying around advice
- 30:31Decoupling with events
- 32:16Asynchronous event handling
- 32:56Summary and resources
- 33:16Q&A session
related talks
57mIntroduction to Micronaut 2.0
02h 54mMicronaut Deep Dive
48mMicronaut Deep Dive
47mIntroduction to Micronaut Lightweight Microservices with Ahead of Time Compilation
46mUnleash the power of your applications with Micronaut and GraalVM
45mIntruduction to Micronaut 2.0
22mspeaks with
32mUnleash the power of your applications with Micronaut and GraalVM
