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
Javaはじめのいっぽ(202107社内勉強会)
Search
shimadamiyuki
July 15, 2021
0
81
Javaはじめのいっぽ(202107社内勉強会)
月一で実施している社内勉強会の資料です(2021.07)
shimadamiyuki
July 15, 2021
Tweet
Share
More Decks by shimadamiyuki
See All by shimadamiyuki
20240912 JJUGナイトセミナー
mii1004
0
200
STORES決済の裏側のはなし(Code Polaris 色んなエンジニアLT大会)
mii1004
0
230
オブジェクト指向がわからない(202201社内勉強会)
mii1004
0
96
たのしい情報収集(202112社内勉強会)
mii1004
0
67
リファクタリング?(202111社内勉強会)
mii1004
0
58
OpenAPI Generator使ってみる(Java女子部ハロウィンLT)
mii1004
0
56
ビルドツールの話(202110社内勉強会)
mii1004
0
77
Hello Spring(202109社内勉強会)
mii1004
0
73
StreamAPI, Lambdaと仲良くなる(202108社内勉強会)
mii1004
0
82
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
335
57k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
Optimising Largest Contentful Paint
csswizardry
33
3k
Statistics for Hackers
jakevdp
796
220k
Designing for Performance
lara
604
68k
We Have a Design System, Now What?
morganepeng
51
7.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Typedesign – Prime Four
hannesfritz
40
2.4k
Building Applications with DynamoDB
mza
91
6.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Your Own Lightsaber
phodgson
103
6.1k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Transcript
+BWB͡Ίͷ͍ͬΆ νʔϜձ
+BWBͬͯͳʹʁ ◦ ݄ੜ·Ε ◦ αϯɾϚΠΫϩγεςϜζࣾʹΑͬͯ։ൃ͞Εͨ ◦ ʹαϯɾϚΠΫϩγεςϜζ͕0SBDMFʹങऩ͞Ε ͨͷͰɺ͍·0SBDMF͕+BWBͷඪΛ࣋ͬͯΔ ◦ +%,ͷ։ൃதʹ044Խ͞Εͨ
+%, +BWB%FWFMPQNFOU,JU ͬͯʁ ◦ +BWBΛ։ൃͨ͠Γ࣮ߦͨ͠Γ͢Δͱ͖ʹඞཁʹͳΔ։ൃΩοτͷ͜ͱ ◦ 044Ͱ։ൃ͞Εͨιʔείʔυʢ0QFO+%,ʣΛͱʹɺ࣮ࡍʹίϯϐϡʔλʹΠϯετʔ ϧͯ͑͠Δܗʹͨ͠ͷΛɺ͍ΖΜͳاۀʢ+%,ϕϯμʣ͕ఏڙͯ͘͠Ε͍ͯΔΑ ◦ ͦΕͧΕಘҙαϙʔτʹҧ͍͕͋Δ͚ͲɺΑ͘Θ͔Μͳ͍͚ͲͱΓ͋͑ͣࣗͷ1$
Ͱ+BWBͷ͓ษڧΛ͍ͨ͠Αɺͱ͍͏ਓ0SBDMF0QFO+%,Λ͓͚ͬͯϕλʔ IUUQTHJUIVCDPNPQFOKEL
+BWBͷόʔδϣϯͲ͏ͳͬͯΔͷʁ +BWB +BWB +BWB +BWB +BWB +BWBʙ·Ͱ ͝ͱʹϦϦʔε ˞+BWB Yਖ਼໊ࣜশͰͳ͍Ͱ͕͢ɺ͜͜Ͱศٓతʹͦ͏ݺΜͰ·͢
+BWB +BWB +BWB +BWB +BWB +BWB
+BWBͷϦϦʔεαΠΫϧ ◦ +BWB͔Β͝ͱͷఆظϦϦʔεʹมΘΓ·ͨ͠ ◦ ৽͍͠ػೳͷϦϦʔεͷεϐʔυ্͕͕Δʂ͓ࢼ͠ػ ೳ͕ೖΕΒΕΔʂ ◦ ʹճɺ-54 -POH5JNF4VQQPSU ൛ͱݺΕΔα
ϙʔτظ͕͍ؒόʔδϣϯ͕ϦϦʔε͞Ε·͢ όʔδϣϯ ϦϦʔε +BWB -54 +BWB +BWB +BWB -54 +BWB +BWB +BWB +BWB +BWB +BWB -54
͔͜͜Βͪΐͬͱ+BWBͯ͠Έ·͢ ◦ϓϩδΣΫτ ◦Ϗϧυπʔϧ ◦ϑϨʔϜϫʔΫ
·ͣ+BWBΛ Πϯετʔϧ͢Δ ࣗͷ1$Ͱ+BWBΛ͑ΔΑ͏ʹ͢Δʹ͍͔ͭ͘Γํ͕͋ΔΑ ◦ ཧπʔϧΛͬͯ+%,ΛΠϯετʔϧͯ͠͏ ˠ.BDͳΒ͕͓ͬͪ͜͢͢Ί ◦ ϕϯμʔʢ+%,Λఏڙͯ͘͠ΕΔاۀʣͷ8FCαΠτ͔Β+%,Λμ ϯϩʔυͯ͠͏ ˠ8JOEPXTͳΒ͕͓ͬͪ͜͢͢Ί
ཧπʔϧΛ͏ ◦ .BDͰ+BWBΛ͍͍ͨͳΒ4%,."/ IUUQTTELNBOJP ͱ͍͏πʔϧ͕ศར ͍ΖΜͳ+%,ΛΠϯετʔϧͯ͠Γସ͑ͯ͑Δ .BD 8JOEPXTͰ4%,."/Λ͍͍ͨ߹ɺʮ$ZHXJOʯͱ͍͏πʔϧΛ௨ͤҰԠ͍͚·͢ɻ ʢ $ZHXJOɿ8JOEPXTͰ-JOVYίϚϯυΛ͑ΔΑ͏ʹ͢ΔͨΊͷͷʣ
IUUQTHJUIVCDPNKBWBXPNFO)FMMP8PSME)BOET0OCMPCNBTUFS1*5$).&NE
◦ 4%,."/ͷJOTUBMMϖʔδʹ ΞΫηε IUUQTTELNBOJPJOTUBMM ◦ λʔϛφϧΛ։͍ͯɺॻ͔ Ε͍ͯΔίϚϯυΛॱ൪ʹ ࣮ߦ͢Δ ◦ λʔϛφϧͰTEL
WFSTJPOɺ ͱ࣮ߦͯ͠ɺ 4%,."/ɾɾɾͷද͕ࣔग़ Ε0, .BD
ࢦఆͨ͠+%,ΛΠϯετʔϧ͢Δ TEL JOTUBMMKBWB Πϯετʔϧ͍ͨ͠+%,ͷ໊લ ΠϯετʔϧͰ͖Δ+%,ͷҰཡΛݟΔ TEL MJTUKBWB -JTUͰग़͖ͯͨҰཡͷɺ͜͜ʹॻ͍ͯ͋Δ໊લΛࢦఆ͢Δɻ Ұ൪ࠨͷྻʢ7FOEFSʣ͕+BWBOFUͰɺ͍͍ͨόʔδϣϯͷ ͷΛબ0,
.BD
ࠓΠϯετʔϧͨ͠+BWBΛσϑΥϧτʹ͠·͔͢ʁͱฉ͔ΕͨΒɺ :ʢ:FTʣͱ͓͚͑ͯɺύεΛ௨͢ʢ+BWBΛ͑ΔΑ͏ʹ͢Δʣͱ͜Ζ·Ͱͬͯ͘ΕΔ Πϯετʔϧ͍ͯ͠Δͱ͜Ζ .BD
8JOEPXTͷ߹4%,."/Λ͏ͷʹ৭ʑ४උ͕ඞཁͰΊΜͲ͍͘͞ͷͰɺ +BWBOFUʢIUUQKELKBWBOFUʣ͔Β+%,ΛΠϯετʔϧ͢Δ 8JOEPXT ͔͜͜Β͍͍ͨόʔδϣϯΛબͿ ϕϯμʔͷαΠτ͔Βμϯϩʔυ
8JOEPXT൛ΛબΜͰμϯϩʔυͯ͠ɺ1$ͷదͳॴʹ[JQΛల։͢Δɻ ʢ$=ʹͦͷ··ஔ͍ͪΌ͏ͱ͔ɺ$=ʹKBWBXPSLΈ͍ͨͳϑΥϧμΛ࡞ͬͯͦͷதͱ͔ʣ 8JOEPXT
μϯϩʔυͨ͠+%,͕͑ΔΑ͏ʹɺύεΛ௨͢ʢڥมʹઃఆ͢Δʣɻ 8JOEPXTͷɺγεςϜͷϓϩύςΟʼৄࡉઃఆλϒʼڥมϘλϯ͔Βɺ ڥมͷઃఆը໘Λදࣔ͢Δɻ Ϣʔβʔڥมͷ৽نϘλϯΛԡ͢ɻ Լهͷ௨Γೖྗͯ͠0,Λԡ͢ɻ ม໊ +"7"@)0.& ม
ల։ͨ͠+%,ͷϑΥϧμΛࢦఆ͢Δʢྫ $=XPSL=KELʣ 8JOEPXT ίϚϯυϓϩϯϓτͰ KBWBrWFSTJPO ͱ࣮ߦͯ͠ɺ+BWBͷόʔδϣϯ͕දࣔ͞ΕΕ0,ɻ
+BWBΛͬ͞͞ͱॻ͍ͯ ಈ͔ͯ͠ΈΔ +BWBͷϓϩάϥϜΛͪΐͬͱॻ͍ͯಈ͔͍͚ͨ͠ͲɺΊΜͲ͍͘͞ ͷ͍ͩɾɾɾ ͱࢥͬͨΒɺ͜Μͳํ๏͕͋ΔΑɻ +4IFMMʢ+BWBҎ߱ʣ +BWBͷιʔεϑΝΠϧΛ࣮ߦʢ+BWBҎ߱ʣ
+BWBͷιʔεϑΝΠϧΛίϯύΠϧ࣮ͯ͠ߦ
+4IFMM +BWBΛॻ͍࣮ͯߦ͕͙͢Ͱ͖Δศརͳͭɻ λʔϛφϧʢίϚϯυϓϩϯϓτʣͰ KTIFMM Λ࣮ߦ͢Δ͚ͩͰىಈ͢ΔΑɻ
ͬͯΈΔͱ͜Μͳײ͡ɻมΫϥεͷએݴͰ͖ΔΑɻ IFMQͱೖྗ͢Δͱ+4IFMMͰͰ͖Δ͜ͱͷҰཡ͕ݟΒΕΔΑɻऴྃ͢Δͱ͖ FYJU
+BWBͷιʔεϑΝΠϧ͔Β࣮ߦ ॻ͍ͨ+BWBͷίʔυΛಈ͔͢ʹຊίϯύΠϧ͠ͳ͍ͱ͍͚ͳ͍͚Ͳɺ ίϯύΠϧͱ͔ΊΜͲ͍͘͞ਓͷͨΊʹɺιʔεϑΝΠϧݸ͚ͩͳΒͦͷ··࣮ߦͰ͖ΔΑɻ
λʔϛφϧʢίϚϯυϓϩϯϓτʣΛ։͍ͯɺ KBWB࡞ͬͨϑΝΠϧ໊ ʢྫɿKBWB)FMMPKBWBʣ ͱೖྗ͢ΕɺϑΝΠϧʹॻ͍ͨ+BWBͷιʔείʔυ͕࣮ߦ͞ΕΔΑɻ ·ͣιʔεϑΝΠϧΛ࡞Γ·͢ɻ ৽͍͠ϑΝΠϧΛ࡞ͬͯɺԼͷࠇͷதΛίϐϖͯ͠Ͷɻ Ϋϥε໊ʢ)FMMPʣࣗ༝ʹ͚ͭͯͶɻϑΝΠϧ໊Ϋϥε໊KBWBʹ͢ΔΑɻ QVCMJDDMBTT)FMMP\ QVCMJDTUBUJDWPJENBJO 4USJOHBSHT
\ ͜͜ʹ࣮ߦ͢Δ༰Λॻ͘Α 4ZTUFNPVUQSJOUMO )FMMP8PSME ^ ^
+BWBͷιʔεϑΝΠϧΛίϯύΠϧ࣮ͯ͠ߦ ͜Ε͕ਖ਼͍͠ʢΊΜͲ͕͘͞Βͳ͍ʣ+BWBͷಈ͔͠ํͩʂ લͷϖʔδͰ࡞ͬͨϑΝΠϧΛ͏Ұ͏Αɻ λʔϛφϧίϚϯυϓϩϯϓτͰɺ KBWBD ࡞ͬͨϑΝΠϧ໊ ʢྫɿKBWBD )FMMPKBWBʣ ͱ࣮ߦͯ͠Ͷɻ KBWBD+BWBͷιʔεϑΝΠϧΛίϯύΠϧ͢ΔͨΊͷίϚϯυͩΑɻ
ਖ਼࣮͘͠ߦͰ͖ΕɺKBWBDΛ࣮ߦͨ͠σΟϨΫτϦʹ DMBTTͱ͍͏֦ுࢠͷΫϥεϑΝΠϧʢ)FMMPDMBTTʣ͕Ͱ͖͍ͯΔΑɻ
͏ҰλʔϛφϧͰɺࠓϑΝΠϧ໊Ͱͳ͘ιʔεʹॻ͍ͨΫϥε໊Λࢦఆͯ͠ɺ KBWBΫϥε໊ʢྫɿKBWB)FMMPʣ ͱ࣮ߦ͢ΕɺιʔεϑΝΠϧʹॻ͍ͨ+BWBͷϓϩάϥϜ͕࣮ߦ͞ΕΔΑɻ
$)".1*0/ :06"3&5)& ͬͨʔ +BWBͰ͖ͨʂ
ݩؾ͕ग़ͨΒଓ͖Λॻ͘Α ɾ*%&Λͬͯ։ൃͯ͠ΈΑ͏ ɾϏϧυπʔϧΛͬͯΈΑ͏ʢ.BWFO(SBEMFʣ ɾ4QSJOHͬͯͳΜͳͷʁ ɾ4QSJOH*OJUJBMJ[FSΛͬͯ4QSJOHͷ1SPKFDUΛ࡞ͬͯΈΑ͏