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
Quarkus でJava モダナイゼーション
Search
norikokt
February 25, 2020
Education
330
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Quarkus でJava モダナイゼーション
初めてQuarkusを触る方向けの超導入編です。
norikokt
February 25, 2020
More Decks by norikokt
See All by norikokt
QuarkusでJavaモダナイゼーション
norikokt
1
310
Node-REDで翻訳アプリを作ろう
norikokt
1
440
Dojo AI Watson API 開発
norikokt
0
370
はじめてのクラウドアプリ開発
norikokt
0
330
IBM Cloudの歩き方
norikokt
0
510
TJBotとWatson画像分析 OSC京都2020
norikokt
0
74
IBM Dojo Basic Lab 1-2 IBM Cloud CLI基礎
norikokt
0
75
IBM Extra Dojo #7 Quarkusでjava モダナイゼーション
norikokt
1
590
初夏のIBM Dojo #7 QuarkusでJava モダナイゼーション
norikokt
0
400
Other Decks in Education
See All in Education
Public Space Is Not For Sale
drikkes
0
120
0506
cbtlibrary
0
210
Beyond the Prompt: Programming as a Pathway to Statistical Thinking
minecr
0
230
教育現場から見た Ruby on Rails
yasslab
PRO
0
200
現場最前線から教えるデータサイエンス1 -ITベンダーにおけるデータサイエンティスト-
hidetoshikawaguchi
0
140
[2026前期火5] 論理学(京都大学文学部 前期 第9回)「正規化の停止性——ヒドラゲームによる証明」
yatabe
0
180
「機械学習と因果推論」入門 ⑤ 因果効果推定の一般化
masakat0
0
150
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2.8k
2026年度春学期 統計学 第9回 確からしさを記述する ー 確率 (2026. 5. 28)
akiraasano
PRO
0
130
Visionary Initiative: Materials-Positive Society 「モノの進化をポジティブな社会の原動力に」|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
660
2026年度春学期 統計学 第10回 分布の推測とは - 標本調査,度数分布と確率分布 (2026. 6. 4)
akiraasano
PRO
0
120
アラムコSTEAMチャレンジ 実践報告書
codeforeveryone
0
170
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Fireside Chat
paigeccino
42
4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
New Earth Scene 8
popppiees
3
2.4k
A designer walks into a library…
pauljervisheath
211
24k
Why Our Code Smells
bkeepers
PRO
340
58k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
220
Transcript
冬のIBM Dojo #7 QuarkusでJavaモダナイゼーション Noriko Kato Developer Advocate Tokyo City
Team
Agenda 1.コースの目的 2.Quarkusのコンセプト 3.ダウンロードサイト・デモ 4.参考サイトのご案内 5.本日の課題 6.Q&A Group Name /
DOC ID / Month XX, 2018 / © 2018 IBM Corporation 2
1.学習の⽬的 ⽬的 Quarkusを体験してもらう ゴール Cloud環境でも“快適なJava”の選択肢を得る このコースを学ぶ⽅の想定スキル Quarkusを初めて使う⽅ 何らかの⾔語での開発経験がある⽅ Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 3
<iframe width="536" height="302" src="https://www.youtube.com/embed/0CUlbqpO4vk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe> 2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 4
2.Quarkusのコンセプト 読み⽅︓くぉーかす 2019年3⽉に公開されたJavaフレームワーク 軽量、⾼速起動でコンテナへの最適化を実現 Red Hat社が⽀援しているオープンソース Group Name / DOC
ID / Month XX, 2018 / © 2018 IBM Corporation 5
2.Quarkusのコンセプト Introducing Quarkus: a next-generation Kubernetes native Java framework The
goal of Quarkus is to make Java a leading platform in Kubernetes and serverless environments while offering developers a unified reactive and imperative programming model to optimally address a wider range of distributed application architectures. Red Hat Developer Blogより抜粋: https://developers.redhat.com/blog/2019/03/07/quarkus-next-generation-kubernetes-native-java-framework/ Group Name / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 6
2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018
/ © 2018 IBM Corporation 7 Container First Quarkus delivers significant runtime efficiencies (based on Red Hat testing), such as •Fast Startup (tens of milliseconds) allows automatic scaling up and down of microservices on containers and Kubernetes as well as FaaS on-the-spot execution •Low memory utilization helps optimize container density in microservices architecture deployments requiring multiple containers •Smaller application and container image footprint
2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018
/ © 2018 IBM Corporation 8 Unifies Imperative and Reactive
2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018
/ © 2018 IBM Corporation 9 Developer Joy A cohesive platform for optimized developer joy:
2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018
/ © 2018 IBM Corporation 10
2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018
/ © 2018 IBM Corporation 11
<iframe width="536" height="302" src="https://www.youtube.com/embed/0CUlbqpO4vk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe> 2.Quarkusのコンセプト Group Name / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 12 https://youtu.be/0CUlbqpO4vk
2.Quarkusのコンセプト Red Hat社から2019年3⽉に公開されたJavaフレームワーク Javaの起動時間問題を解決し、 コンテナ環境の良さを⽣かしたJava開発ができる︕︕ Group Name / DOC ID
/ Month XX, 2018 / © 2018 IBM Corporation 13
Group Name / DOC ID / Month XX, 2018 /
© 2018 IBM Corporation 14
3.ダウンロードサイト・デモ Quarkus.io Group Name / DOC ID / Month XX,
2018 / © 2018 IBM Corporation 15
3.ダウンロードサイト・デモ デモ環境 macOS Catalina(10.15.3) Java jdk 8.x Maven 3.5.x 読み︓めいべん
GraalVM 読み︓ぐらーるばーちゃるましん Group Name / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 16
4.参考サイトのご案内 特に参照させていただいたサイト Quarkusハンズオンしてみた (キャスレーコンサルティング CSVIT部 内田様の記事) https://www.casleyconsulting.co.jp/blog/engineer/4622/ Coding That Sparks
Joy With Quarkus, by Edson Yanaga (RedHat社Yanaga様の動画) https://youtu.be/8r3ZV36ah4I Quarkus website: http://quarkus.io 17
5.本⽇の課題 環境確認 → Projectチェックアウト → 実⾏ → 結果の確認 Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 18 $ java –version $ mvn -version
5.本⽇の課題 環境確認 → Projectチェックアウト → 実⾏ → 結果の確認 ¥マーク表⽰はペースト時にバックスラッシュになります Group
Name / DOC ID / Month XX, 2018 / © 2018 IBM Corporation 19 $ mvn io.quarkus:quarkus-maven-plugin:0.15.0:create ¥ -DprojectGroupId=org.acme ¥ -DprojectArtifactId=getting-started ¥ -DclassName="org.acme.quickstart.GreetingResource" ¥ -Dpath="/hello"
5.本⽇の課題 環境確認 → Projectチェックアウト → 実⾏ → 結果の確認 Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 20 $ cd getting-started $ ls -la
5.本⽇の課題 環境確認 → Projectチェックアウト → 実⾏ → 結果の確認 Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 21
5.本⽇の課題 環境確認 → Projectチェックアウト → 実⾏ → 結果の確認 Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 22 $ ./mvnw compile quarkus:dev:
6.Q&A アンケート http://ibm.biz/dojo-jp-qa Group Name / DOC ID / Month
XX, 2018 / © 2018 IBM Corporation 23
まとめ ⽬的 Quarkusを体験してもらう ゴール Cloud環境でも“快適なJava”の選択肢を得る このコースを学ぶ⽅の想定スキル Quarkusを初めて使う⽅ 何らかの⾔語での開発経験がある⽅ Group Name
/ DOC ID / Month XX, 2018 / © 2018 IBM Corporation 24