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
0
60
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
Tweet
Share
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
80
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
110
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
63
Ágiles 2016 - Using open source tools to support Continuous Delivery
stefanteixeira
0
51
6º Encontro do Grupo de Testes Carioca - Testes em um contexto de Continuous Delivery
stefanteixeira
0
42
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
81
TDC 2016 SP - Cobertura de código de procedures T-SQL com SQLCC
stefanteixeira
0
71
TDC 2016 SP - 5 libs de teste JavaScript que você deveria conhecer
stefanteixeira
0
59
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
120
アセットのコンパイルについて
ojun9
0
120
私の後悔をAWS DMSで解決した話
hiramax
4
210
Android端末で実現するオンデバイスLLM 2025
masayukisuda
1
150
Navigating Dependency Injection with Metro
zacsweers
3
260
旅行プランAIエージェント開発の裏側
ippo012
2
900
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
510
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
440
Cache Me If You Can
ryunen344
2
690
速いWebフレームワークを作る
yusukebe
5
1.7k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Done Done
chrislema
185
16k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
It's Worth the Effort
3n
187
28k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
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!