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
63
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
110
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
48
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
86
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
77
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
64
Other Decks in Programming
See All in Programming
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1k
My daily life on Ruby
a_matsuda
3
200
【26新卒研修】OpenAPI/Swagger REST API研修
dip_tech
PRO
0
150
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
370
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.2k
Agentic Elixir
whatyouhide
0
450
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.5k
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
5
1.1k
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.7k
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Raft: Consensus for Rubyists
vanstee
141
7.4k
Amusing Abliteration
ianozsvald
1
160
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
530
Automating Front-end Workflow
addyosmani
1370
200k
The Curious Case for Waylosing
cassininazir
0
340
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!