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
310
Node-REDで翻訳アプリを作ろう
norikokt
1
450
Dojo AI Watson API 開発
norikokt
0
370
はじめてのクラウドアプリ開発
norikokt
0
330
IBM Cloudの歩き方
norikokt
0
510
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
400
Other Decks in Education
See All in Education
アラムコSTEAMチャレンジ 実践報告書
codeforeveryone
0
200
Center for Entrepreneurship Education | Science Tokyo (Institute of Science Tokyo)
sciencetokyo
PRO
0
200
!コスパよくインターンに受かる方法!
ruribou
1
310
良書紹介08_ 頭のいい子がやっているすごいグラフの読み方
bunnchinn3
0
130
2026年度春学期 統計学 第7回 データの関係を知る(2)ー 回帰と決定係数 (2026. 5. 21)
akiraasano
PRO
0
250
プロポーザルを書く技術とアンチパターン/proposal-writing-and-antipatterns
moriyuya
13
3.7k
自己紹介 / who-am-i
yasulab
6
7.1k
Enterprise UI, v2
stevekinney
0
150
生成AI時代のエンジニア育成について考えてみた
akasan
0
200
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.1k
Lectura 2 (PIT : Python Basico)
robintux
0
400
Del ojo entrenado a la visión computacional: evaluación de la severidad de enfermedades
emdelponte
0
110
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
640
Abbi's Birthday
coloredviolet
3
9.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Evolving SEO for Evolving Search Engines
ryanjones
0
250
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
460
AI: The stuff that nobody shows you
jnunemaker
PRO
9
890
The Mindset for Success: Future Career Progression
greggifford
PRO
0
440
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
890
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
520
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