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
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
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
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
160
XHTMLが残したもの
yosuke_furukawa
PRO
2
420
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
1k
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
140
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
55
36k
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
270
Deep dive into the select statement (GopherCon UK)
jespino
0
170
MIZARU@SPAJAM2026 第二回予選
1901drama
0
110
「AI時代、配布するPythonコードをどう守るか: 難読化の実験と判断軸」 #PyconJP2026
pkshadeck
PRO
2
170
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
110
typoなんかねぇよ
raspython3
0
670
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
Featured
See All Featured
Speed Design
sergeychernyshev
33
2.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
450
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Paper Plane (Part 1)
katiecoart
PRO
1
11k
Docker and Python
trallard
47
4.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
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!