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 - Creating REST APIs in minute...
Search
Stefan Teixeira
May 14, 2016
Programming
55
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
More Decks by Stefan Teixeira
See All by Stefan Teixeira
Scrum Gathering Portugal 2016 - Containerizing Tests with Docker
stefanteixeira
0
91
Agile Brazil 2016 - 5 fundamentos essenciais de padrões xUnit
stefanteixeira
0
120
Latinoware 2016 - Continuous Delivery com ferramentas open source
stefanteixeira
0
75
Á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
51
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
94
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
68
Other Decks in Programming
See All in Programming
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
330
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
850
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
3.5k
Android CLI
fornewid
0
210
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
260
yield再入門 #phpcon
o0h
PRO
0
970
数百円から始めるRuby電子工作
tarosay
0
140
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
490
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
370
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
530
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.9k
Google Apps Script で Ruby を動かす
kawahara
0
130
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
For a Future-Friendly Web
brad_frost
183
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
360
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
400
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
480
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
780
Measuring & Analyzing Core Web Vitals
bluesmoon
9
950
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
440
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
470
Navigating Team Friction
lara
192
16k
Transcript
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!