~/talk

Micronaut Advanced DI & AOP

Talkat Devnexus 2021 · 2021-02-17..02-18· [java, microservices]
slides:none on file

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

  1. 0:00Introduction to Micronaut
  2. 1:05Micronaut build-time DI features
  3. 3:51Setting up a Micronaut project
  4. 6:19Basic dependency injection
  5. 8:28Creating domain models
  6. 10:36Fixing bean injection errors
  7. 12:21Startup events and application context
  8. 14:08Configurable dependency injection
  9. 17:22Testing configuration changes
  10. 19:55Immutable configuration properties
  11. 20:58Named beans and dynamic injection
  12. 22:25Environment-specific beans
  13. 24:30Cloud-aware bean selection
  14. 25:53Cloud-specific configurations
  15. 27:00Introduction to AOP in Micronaut
  16. 29:07Applying around advice
  17. 30:31Decoupling with events
  18. 32:16Asynchronous event handling
  19. 32:56Summary and resources
  20. 33:16Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.