From b21b5970459c7df87f97296a8c77eb0ec20c1d67 Mon Sep 17 00:00:00 2001 From: "arthur.dambrine" Date: Fri, 4 Nov 2022 15:23:23 +0100 Subject: [PATCH] session 1 --- ...ut_cloud_native_microservices_with_java.md | 67 +++++++++++++++++++ readme.md | 0 2 files changed, 67 insertions(+) mode change 100644 => 100755 micronaut_cloud_native_microservices_with_java.md mode change 100644 => 100755 readme.md diff --git a/micronaut_cloud_native_microservices_with_java.md b/micronaut_cloud_native_microservices_with_java.md old mode 100644 new mode 100755 index a9257f0..cf04f01 --- a/micronaut_cloud_native_microservices_with_java.md +++ b/micronaut_cloud_native_microservices_with_java.md @@ -6,5 +6,72 @@ Session 1 : 04/11/2022 +Daniel - Instructor for the course +Living in Austria - working at technical lead with backend applications. Deploying to aws. +Goal for this course: following it for 45min/day. + + + +## Unit 1 : Introduction + +### Spring / Micronaut / Quarkus (09/2020) + + + +Spring - dominating the Java world + +- well established +- reactive stack with Spring WebFlux (since v5) +- biggest community +- most integrations +- multi language support +- heavy use of reflection +- support for GraalVM (beta) + + + +Quarkus - cloud native framework + +- reactive stack +- minimal memory footprint at startup time +- based on standards and frameworks +- GraalVM / serverless cloud functions +- slower compilation time (AOT) +- smaller community as Spring + + + +**Micronaut** - modern cloud native framework + +- reactive stack +- minimal footprint and startup time +- no byte code modidications during compilation +- removes all leves of reflection usage +- GraalVM / serverless cloud functions +- multi language support (Java, Groovy, Kotlin) +- quite similar to Spring framework (good if you have spring background) +- slower compilation time (AOT) +- smaller community as Spring + + + +### Code examples and setup + +*Course is compatible with version 3.1* + + + +## Unit 2: Micronaut 3 - quickstart + +Cf. https://micronaut.io and https://micronaut.io/launch + +Create a first project with: + +- Micronaut 3 LTS +- Java 11 +- Maven +- Junit + +Dependancies: `Netty server` diff --git a/readme.md b/readme.md old mode 100644 new mode 100755