Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Tech talk: Micronaut

Tech talk: Micronaut

Introduction to Micronaut

Dimitri

July 31, 2020
Tweet

More Decks by Dimitri

Other Decks in Programming

Transcript

  1. How do we usually write Java applications? • Spring, Jackson,

    Hibernate, … • Utilizes annotations • Annotation-driven development
  2. How do these annotations (usually) work? • Uses reflection API

    • Runtime evaluation takes time • Higher memory consumption • Less benefit from Ahead of Time compilation
  3. Meet Micronaut • Modern Java framework • Focuses on microservices

    and serverless • Annotation processors • Runs at compile-time
  4. Advantages of Micronaut • No reflection • No classpath scanning

    • Decreased startup time & memory footprint • Works with annotations of other libraries!
  5. Remember this • Startup times not always important • Framework

    still young • Quality of documentation • Compilation takes longer