Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ecrire un microservice Java natif avec Micronau...
Search
Cédric Champeau
April 13, 2023
Technology
260
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ecrire un microservice Java natif avec Micronaut et GraalVM
Cédric Champeau
April 13, 2023
More Decks by Cédric Champeau
See All by Cédric Champeau
Integrating Python and Java easily using (Micronaut) GraalPy
melix
0
91
JSol'Ex : traitement d'images solaires en Java
melix
0
270
JSol'Ex : solar image processing in Java
melix
0
880
Micronaut Test Resources
melix
1
320
Micronaut Test Resources
melix
1
490
AlpesJUG: Micronaut Test Resources
melix
0
170
Micronaut_Test_Resources.pdf
melix
0
270
Consommation électrique du foyer
melix
0
320
Micronaut AOT: optimiser vos application pour le JIT et GraalVM
melix
0
280
Other Decks in Technology
See All in Technology
Devsumi 2026 Summer 人もAIも使える共通基盤を事業の加速装置にする~デザインシステム運用に学ぶ組織レバレッジ~ 渡辺 凌央
legalontechnologies
PRO
1
230
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
310
AIと共生する開発者プラットフォーム:バクラクのモノレポ×マイクロサービス基盤
sakajunquality
2
3.8k
CDKで書くECSのベストプラクティス、 改めて考え直す2026 #cdkconf2026
makies
3
790
「AIに依存している」と 「AIを使いこなしている」の違い
k8yasuma
0
120
AI Driven AI Governance
pict3
0
480
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
860
AI時代のYAGNI:「爆速で無駄になった機能」からの学び / 20260720 Naoki Takahashi
shift_evolve
PRO
2
320
しくみを学んで使いこなそう GitHub Copilot app
torumakabe
2
290
AICoEでAIネイティブ組織への進化
yukiogawa
0
190
Data + AI Summit 2026 イベントレポート: 「AIがビジネスで意思決定するデータ基盤」へ
nek0128
0
260
Featured
See All Featured
It's Worth the Effort
3n
188
29k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
A Soul's Torment
seathinner
6
3.1k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Six Lessons from altMBA
skipperchong
29
4.3k
Unsuck your backbone
ammeep
672
58k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
So, you think you're a good person
axbom
PRO
2
2.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
Building a native microservice with Micronaut and GraalVM Cédric Champeau
Micronaut, Oracle Labs @
[email protected]
@CedricChampeau Copyright © 23-4-13, Oracle and/or its affiliates Micronaut® is a registered trademark of Object Computing, Inc. Use is for referential purposes and does not imply any endorsement or affiliation with any third-party product. Unauthorized use is strictly prohibited.
- Working at Oracle Labs on Micronaut Main focus on
build plugins and dev productivitity @
[email protected]
- Formerly working at Gradle Inc - Author of static compiler of Groovy - Amateur astronomer @
[email protected]
https://www.astrobin.com/users/melix/ https://bit.ly/3eGD0GM (Youtube) About me Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
- Micronaut is focused on modern architectures like Serverless and
Microservices - Also a complete framework for any type of application - Lightweight, reactive (HTTP Client/Server based on Netty) - Annotation processor to compute framework infrastructure at compile time Micronaut Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
- Micronaut is OSS software licensed under Apache license version
2 - Micronaut Foundation - Technology Advisory Board: Jetbrains, Microsoft, Thoughtworks, Amazon, Google, Oracle, Object Computing, Agile Developer - Sponsors: Object Computing, Oracle, Microstream, Safri.net, Vizor, HiveMQ, Gradle Inc, Jetbrains Micronaut is well supported Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
Micronaut computes: - All dependency & configuration injection - Annotation
metadata, meta-annotations - AOP proxies - Bean introspections - And all other framework infrastructure - Reflection, runtime proxy, and dynamic classloader free Micronaut = Build Time Framework Infrastructure Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
- More than 50 modules! - Micronaut SQL: Database access
- MySQL/MariaDB, Postgres, Oracle, SQL Server, - Pure SQL, Hibernate, Hibernate Reactive, JPA - Micronaut Data - Ahead of Time (AoT) compilation to pre-compute queries for repository interfaces - Micronaut Validation - e.g @NotBlank, @Min(18), ... Example Micronaut Modules Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
- Micronaut Cache - Caching abstraction - Caffeine, JCache, Redis,
Ehcache, Hazelcast, Infinispan, MicroStream - Micronaut Security - Authentication/Security rules - Micronaut Discovery - Consul, Eureka, Spring Cloud Config - And many more! - Kafka, MQTT, RabbitMQ, ElasticSearch, MongoDB, Neo4j, OpenAPI, Pulsar, ... Example Micronaut Modules Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
- Cloud support: Azure, AWS, Google Cloud, Oracle Cloud -
Micronaut Spring - Integrate Spring components into a Micronaut application - Run Spring applications as Micronaut applications - Expose Micronaut Beans to a Spring Application - Micronaut JAX-RS - using JAX-RS annotations and types in a Micronaut application And also... Copyright © 2022, Oracle and/or its affiliates micronaut.io github.com/micronaut-projects/micronaut-core
None
High-performance JDK distribution Increases application throughput, reduces latency, reduces memory
use Graal just-in-time (JIT) compiler that runs on top of HotSpot, written in Java native-image ahead-of-time (AoT) compiler compiles Java applications into small self- contained native binaries Micronaut = Build Time Framework Infrastructure Copyright © 2022, Oracle and/or its affiliates graalvm.org github.com/graalvm/graalvm-demos oracle.com/graalvm
Micronaut + GraalVM Native Image are a match made in
heaven Less work to configure Native Image because Micronaut eliminates reflection, runtime proxies, bytecode generation and dynamic classloading Startup time 20ms and Memory Consumption 18MB! Micronaut GraalVM ♥️ Copyright © 2022, Oracle and/or its affiliates graalvm.org github.com/graalvm/graalvm-demos oracle.com/graalvm ♥️
Copyright © 2022, Oracle and/or its affiliates Demos micronaut.io github.com/micronaut-projects/micronaut-core
Copyright © 2022, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly
Restricted 13
None