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 - Criando APIs REST em minutos...
Search
Stefan Teixeira
May 14, 2016
Programming
65
0
Share
TDC 2016 Floripa - Criando APIs REST em minutos com Spark + Java 8
Palestra apresentada na trilha Java do TDC 2016 Florianópolis, no dia 14 de Maio.
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
86
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
70
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
59
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
50
TDC 2016 SP - Desmistificando cobertura de código como métrica de qualidade
stefanteixeira
0
130
TDC 2016 SP - Continuous Delivery para aplicações Java com ferramentas open-source
stefanteixeira
0
88
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
79
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
64
Other Decks in Programming
See All in Programming
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
390
CSC307 Lecture 17
javiergs
PRO
0
310
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.2k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
3
230
Lessons from Spec-Driven Development
simas
PRO
0
110
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.5k
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
530
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
150
AIエージェントの隔離技術の徹底比較
kawayu
0
450
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
7
3k
Moments When Things Go Wrong
aurimas
3
140
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
Ethics towards AI in product and experience design
skipperchong
2
290
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
240
Optimizing for Happiness
mojombo
378
71k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Transcript
Globalcode – Open4education Criando APIs REST em minutos com Spark
+ Java 8 Stefan Teixeira
[email protected]
/ @stefan_teixeira
• QA Automation Engineer • Entusiasta de Automação de Testes,
Agile Testing e DevOps • Blogs técnicos: stefanteixeira.com.br (pt-br) / stefanteixeira.com (en) Contatos: • E-mail:
[email protected]
• Twitter: twitter.com/stefan_teixeira • LinkedIn: linkedin.com/in/stefanteixeira • GitHub: github.com/stefanteixeira • SlideShare: slideshare.net/stefanteixeira Sobre
None
Não confundir com Apache Spark (Big Data)
Spark • Inspirado no Sinatra
Spark • Inspirado no Sinatra • Java 8 ❤
Spark • Inspirado no Sinatra • Java 8 • Ótimo
para APIs REST
Spark • Inspirado no Sinatra • Java 8 • Ótimo
para APIs REST (mas também é usado para web)
APIs REST
Exemplos
None
Alguns dos (vários) outros recursos • Cookies • Sessões •
Filtros (before, after…) • Redirects • Exception Mapping • Arquivos estáticos
Documentação http://sparkjava.com/documentation.html
Tutoriais https://sparktutorials.github.io
Survey (Abril 2015) http://sparkjava.com/news.html#sparksurvey
Usando Spark em Testes de Integração
Simuladores / mock services
None
Spark + Docker https://sparktutorials.github.io/2015/04/14/getting-started-with-spark-and-docker.html
Projeto de exemplo https://github.com/stefanteixeira/demo-spark
Mais 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 • Outros links estão na parte de baixo dos slides :)
Globalcode – Open4education Stefan Teixeira @stefan_teixeira
[email protected]
stefanteixeira.com.br stefanteixeira.com Obrigado!