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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
99
JSol'Ex : traitement d'images solaires en Java
melix
0
280
JSol'Ex : solar image processing in Java
melix
0
910
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
290
Other Decks in Technology
See All in Technology
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
480
dbt in Microsoft Fabric
ryomaru0825
0
300
Digital Credentials API × OpenID4VP ブラウザ完結型本人確認の実装知見(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
330
GopherCon @シアトル に行ってきました
logica0419
0
350
1000⼈規模のClaude Enterprise運⽤を「Oktaのグループ」と「Slack」に集約する
sansantech
PRO
0
490
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
200
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
8.7k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
顧客の要望は2次情報である 〜アンテナを張るFDEの構造論〜
noriakioji
5
1k
AWSとAzureのマルチクラウド活用における強い味方___AWS_Kiroを使った二刀流スキル作成.pdf
duelist2020jp
0
130
AWSとGitHub Actionsの責任境界と 組織で安全に使用する取り組み
nealle
0
210
わたしが知り合いゼロの勉強会に 行けるようになるまで
r5ni4
2
830
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
430
Un-Boring Meetings
codingconduct
0
400
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Building an army of robots
kneath
306
46k
Designing Powerful Visuals for Engaging Learning
tmiket
1
510
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Practical Orchestrator
shlominoach
191
12k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Cost Of JavaScript in 2023
addyosmani
55
10k
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