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
Server Side Kotlin導入してみた
Search
T.Hori
February 28, 2019
Programming
800
0
Share
Server Side Kotlin導入してみた
Server Side Kotlinの導入について社内LTで発表した資料です
T.Hori
February 28, 2019
More Decks by T.Hori
See All by T.Hori
よりぬき「採用を科学する」
beatdjam
0
170
Slackの暮らし方
beatdjam
0
96
Other Decks in Programming
See All in Programming
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
300
Making the RBS Parser Faster
soutaro
0
660
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.1k
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
160
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
PHPer、Cloudflare に引っ越す
suguruooki
1
140
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
190
AIを導入する前にやるべきこと
negima
2
330
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
640
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
330
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
750
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
160
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
190
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
450
The Curious Case for Waylosing
cassininazir
0
340
Mind Mapping
helmedeiros
PRO
1
180
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
780
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
120
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
170
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Transcript
Server Side Kotlin 導入してみた
B-Teck!(ブログ) https:/ /blog.beatdjam.com/ Github https:/ /github.com/beatdjam Twitter(ほぼ技術の話はしていません) https:/ /twitter.com/beateck 2
T.Hori
B 導入プロダクト 3 導入率 : 98%(予定) 導入率 : 40% A
社外秘のため導入率だけ …
既存システムの構成 • Maven • Java8 • Jersey2 4
なぜKotlinを導入したのか 1
Javaって 冗長ですよね 6
7
data classって 便利ですよね 8
9
10 equals():オブジェクト比較 hashCode():ハッシュコードを取得 copy():オブジェクトのコピー toString():文字列へ変換 componentN():N番目のプロパティの内容を取り出す デフォルトで生成される メソッド
既存資産って 使いたいですよね 11
12 “Kotlin is designed with Java Interoperability in mind.” Calling
Java code from Kotlinより https:/ /kotlinlang.org/docs/reference/java-interop.htm 基本的にJavaの資産はそのまま使える!
13 Server Side Kotlin、良いのでは
そんな時 こんな記事が公開 14 エムスリーで「サーバサイドKotlin」を導入したチームに話を聞 きました
None
導入時に躓いたこと 2
Bean Validationが動かない 17 NG OK
Eclipseのプラグイン上で Kotlinがうまく動かない 18
Eclipseのプラグイン上で Kotlinがうまく動かない 19
導入時に躓かなかったこと 3
Mavenに記述追加で すぐ動く 21 Using Maven - Kotlin Programming Language
Kotlin未対応フレームワークも 問題なく使える 22 じゃなくて…
Kotlin未対応フレームワークも 問題なく使える 23 OK
導入して良かったこと 困ったこと 4
良かったこと • Javaよりも簡潔に書ける(特にCollection操作) • やっぱりdata classは便利 • Null SafeによってアプリとI/Fをすり合わせやすい •
困ったらJavaで書けばいい • 社内ライブラリがそのまま使える 25
良かったこと(その2) • アプリ開発者が触りやすい (iOS開発者二人がAPI開発に参加しました!) • Swiftへの恐怖心が減った • Kotlinを通して最近のJavaを知ることができた • たのしい!!
26
困ったこと • Android向けばかりでServer Sideの事例の知見が 少ない • KotlinのコミュニティがAndroidと密結合 ⇒ 今はかなり改善されてます! •
IntelliJ IDEAをサーバーサイドで使うのは有料😭 27
28 あなたも Server Side Kotlin 導入してみませんか?
29 ご静聴ありがとうございました!