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
TDC 2016 Floripa - Creating REST APIs in minute...
Search
Stefan Teixeira
May 14, 2016
Programming
55
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDC 2016 Floripa - Creating REST APIs in minutes with Spark + Java 8
Stefan Teixeira
May 14, 2016
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
92
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
78
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
65
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
52
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
140
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
96
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
82
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
74
Other Decks in Programming
See All in Programming
不幸な GC
chencmd
0
890
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
270
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
0
450
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
110
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
570
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
600
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
240
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
120
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
170
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
750
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
55
36k
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
How to train your dragon (web standard)
notwaldorf
97
6.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Designing for humans not robots
tammielis
254
26k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
250
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
840
Music & Morning Musume
bryan
47
7.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
450
Transcript
Globalcode – Open4education Creating REST APIs in minutes with Spark
+ Java 8 Stefan Teixeira
[email protected]
/ @stefan_teixeira
• QA Automation Engineer • Test Automation, Agile and DevOps
enthusiast • Technical blogs: stefanteixeira.com.br (pt-br) / stefanteixeira.com (en) Links: • E-mail:
[email protected]
• Twitter: twitter.com/stefan_teixeira • LinkedIn: linkedin.com/in/stefanteixeira • GitHub: github.com/stefanteixeira • SlideShare: slideshare.net/stefanteixeira About me
None
Not to be confused with Apache Spark (Big Data)
Spark • Inspired by Sinatra
Spark • Inspired by Sinatra • Java 8 ❤
Spark • Inspired by Sinatra • Java 8 • Great
for REST APIs
Spark • Inspired by Sinatra • Java 8 • Great
for REST APIs (but it is also used for web applications)
REST APIs
Examples
None
Some of the (many) features • Cookies • Sessions •
Filters (before, after…) • Redirects • Exception Mapping • Static files
Documentation http://sparkjava.com/documentation.html
Tutorials https://sparktutorials.github.io
Survey (April 2015) http://sparkjava.com/news.html#sparksurvey
Using Spark with Integration Tests
Simulators / Mock Services
None
Spark + Docker https://sparktutorials.github.io/2015/04/14/getting-started-with-spark-and-docker.html
Sample project https://github.com/stefanteixeira/demo-spark
Useful links • https://blog.openshift.com/developing-single-page-web- applications-using-java-8-spark-mongodb-and-angularjs/ • http://www.mastertheboss.com/cool-stuff/create-a-rest-services- layer-with-spark • https://github.com/mscharhag/blog-examples/tree/master/
sparkdemo
Globalcode – Open4education Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com Thanks!