Save 37% off PRO during our Black Friday Sale! »

Tech talk: Micronaut

Tech talk: Micronaut

Introduction to Micronaut

804116bef2aa0a22789514d3b7a8f520?s=128

Dimitri

July 31, 2020
Tweet

Transcript

  1. Tech talk: Micronaut

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

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

    • Runtime evaluation takes time • Higher memory consumption • Less benefit from Ahead of Time compilation
  4. Is there an alternative?

  5. Meet Micronaut • Modern Java framework • Focuses on microservices

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

    • Decreased startup time & memory footprint • Works with annotations of other libraries!
  7. Let’s try it out!

  8. Remember this • Startup times not always important • Framework

    still young • Quality of documentation • Compilation takes longer
  9. Source code

  10. Thanks for listening!