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
340
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
320
Node-REDで翻訳アプリを作ろう
norikokt
1
450
Dojo AI Watson API 開発
norikokt
0
380
はじめてのクラウドアプリ開発
norikokt
0
330
IBM Cloudの歩き方
norikokt
0
520
TJBotとWatson画像分析 OSC京都2020
norikokt
0
75
IBM Dojo Basic Lab 1-2 IBM Cloud CLI基礎
norikokt
0
78
IBM Extra Dojo #7 Quarkusでjava モダナイゼーション
norikokt
1
600
初夏のIBM Dojo #7 QuarkusでJava モダナイゼーション
norikokt
0
410
Other Decks in Education
See All in Education
SFプロトタイピング体験(滝中学校)
yusk1450
PRO
0
120
【デザイナー就活講座】 デザイナー就活市場・企業探し・ポートフォリオのポイント
koheihasebe
0
480
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
310
解決策を教えても次期リーダーは育たない ─ 器の発達に伴走するために / Partnering with leaders in their vertical development
matsu0228
1
660
[2026前期火5] 論理学(京都大学文学部 前期 第6回)「かつとまたはの規則」
yatabe
0
490
Enterprise UI, v2
stevekinney
0
200
[2026前期火5] 論理学(京都大学文学部 前期 第13回)「走って、止まって、積み上がる」
yatabe
0
200
Throw Yourself In! - How I've learned English and What I'm Facing
georgeorge
1
240
Del ojo entrenado a la visión computacional: evaluación de la severidad de enfermedades
emdelponte
0
120
アラムコSTEAMチャレンジ 実践報告書
codeforeveryone
0
220
[2026前期火5] 論理学(京都大学文学部 前期 第4回)「 ならば(→)の導入と証明ネット」
yatabe
0
550
Stardy 会社紹介資料
stardy
0
6.5k
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
250
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
310
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
500
Exploring anti-patterns in Rails
aemeredith
3
480
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
400
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
WCS-LA-2024
lcolladotor
0
810
Leo the Paperboy
mayatellez
8
2.2k
Design in an AI World
tapps
1
290
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