Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TDC 2016 Floripa - Creating REST APIs in minute...
Search
Stefan Teixeira
May 14, 2016
Programming
59
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
Transcript
22 slides
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!
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
95
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
130
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
82
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
69
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
56
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
150
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
100
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
88
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
82
Other Decks in Programming
See All in Programming
Spec-driven Development with AI
simas
PRO
0
2.3k
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
180
LLM 101
dalinaum
0
540
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
0
210
はじめてのPLATEAU
nokonoko1203
1
670
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
630
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
510
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
はじめてのKubernetesコントリビューション
nasa9084
0
320
SODA - FACT BOOK(EN)
sodainc
1
280
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Odyssey Design
rkendrick25
PRO
3
970
Visualization
eitanlees
153
17k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
WCS-LA-2024
lcolladotor
0
1k
What's in a price? How to price your products and services
michaelherold
247
13k
Documentation Writing (for coders)
carmenintech
77
5.7k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k