$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
サブ資料⑥FictPAYプロジェクトについての補足
Search
Recruit
PRO
August 10, 2023
Technology
1
630
サブ資料⑥FictPAYプロジェクトについての補足
2023年度リクルート エンジニアコース新人研修の講義資料です
Recruit
PRO
August 10, 2023
Tweet
Share
More Decks by Recruit
See All by Recruit
プロダクトマネジメントの分業が生む「デリバリーの渋滞」を解消するTPMの越境
recruitengineers
PRO
3
730
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
4
310
dbtとBigQuery MLで実現する リクルートの営業支援基盤のモデル開発と保守運用
recruitengineers
PRO
4
220
『ホットペッパービューティー』のiOSアプリをUIKitからSwiftUIへ段階的に移行するためにやったこと
recruitengineers
PRO
4
1.7k
経営の意思決定を加速する 「事業KPIダッシュボード」構築の全貌
recruitengineers
PRO
4
390
Browser
recruitengineers
PRO
12
4k
JavaScript 研修
recruitengineers
PRO
9
2.2k
TypeScript入門
recruitengineers
PRO
37
15k
モダンフロントエンド 開発研修
recruitengineers
PRO
16
8.4k
Other Decks in Technology
See All in Technology
EM歴1年10ヶ月のぼくがぶち当たった苦悩とこれからへ向けて
maaaato
0
270
A Compass of Thought: Guiding the Future of Test Automation ( #jassttokai25 , #jassttokai )
teyamagu
PRO
1
250
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
300
[CMU-DB-2025FALL] Apache Fluss - A Streaming Storage for Real-Time Lakehouse
jark
0
110
pmconf2025 - 他社事例を"自社仕様化"する技術_iRAFT法
daichi_yamashita
0
790
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
1
160
Noを伝える技術2025: 爆速合意形成のためのNICOフレームワーク速習 #pmconf2025
aki_iinuma
2
2.1k
LLM-Readyなデータ基盤を高速に構築するためのアジャイルデータモデリングの実例
kashira
0
220
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.6k
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
1.8k
Uncertainty in the LLM era - Science, more than scale
gaelvaroquaux
0
820
Microsoft Agent 365 を 30 分でなんとなく理解する
skmkzyk
1
1k
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
93
Faster Mobile Websites
deanohume
310
31k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Designing Experiences People Love
moore
143
24k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Done Done
chrislema
186
16k
Making Projects Easy
brettharned
120
6.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.8k
Transcript
1 ページ サブ資料⑥:Fict PAYプロジェクトについての補⾜ 今回の使⽤フレームワークJerseyについて Spring Frameworkは機能が豊富で様々な要素を包括しているため、それらを簡略化し、今回はシン プルな実装を⾏えるようにJerseyを選択 Jerseyについて JerseyはJAX-RS(JavaにおけるRESTfulなWebサービスの実装に必要な機能やルールを定めたAPIの仕
様)に従って実装された代表的なフレームワークの1つ Jerseyの特徴は、リソースクラス(Controller)の設計がシンプルで、HTTPリクエストとJavaオブジェ クトの変換に注⼒しており、Spring Frameworkに⽐べて機能が少ない分、シンプルでわかりやすい設 計になっている プロジェクトの構成 今回はAPIのため、Viewは無し。モデルとコントローラは以下 JAX-RSとは RESTful APIをJavaで実現するために提唱された仕様で、それに基づいて実装されたフレーム ワークがJersey(※JAX-RSに基づいたフレームワークはJersey以外にも存在する)
2 ページ DB PostgreSQL14.6を使⽤ OBM(MyBatis) ObjectMapperとしてMyBatisを使⽤ その他の主な使⽤ライブラリ DBのトランザクションについて Jerseyでトランザクション管理をするためにpom.xmlにspring-txを追加 <!--
Transaction管理 --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>6.0.6</version> </dependency> JavaBeanの管理 JavaBeanの管理のためにpom.xmlにspring-contextを追加 <!-- https://mvnrepository.com/artifact/org.springframework/spring-context --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>6.0.5</version> </dependency> JWTサポートのためのjjwt-apiをpom.xmlに追加 <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt --> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version> </dependency> JWTのサポート コントローラ(Controller)について 今回のフレームワークではResourceという名でクラスを作成するのが、作法であるため、コ ントローラのクラス名は「〇〇Controller」ではなく、「〇〇Resource」となるようにする