TDC 2016 Floripa - Criando APIs REST em minutos com Spark + Java 8

  • View
    419

  • Download
    1

Embed Size (px)

Text of TDC 2016 Floripa - Criando APIs REST em minutos com Spark + Java 8

  • Globalcode Open4education

    Criando APIs REST em minutos com Spark + Java 8

    Stefan Teixeirastefanfk@gmail.com / @stefan_teixeira

  • QA Automation Engineer Entusiasta de Automao de Testes, Agile Testing e DevOps Blogs tcnicos: stefanteixeira.com.br (pt-br) /

    stefanteixeira.com (en)

    Contatos: E-mail: stefanfk@gmail.com Twitter: twitter.com/stefan_teixeira LinkedIn: linkedin.com/in/stefanteixeira GitHub: github.com/stefanteixeira SlideShare: slideshare.net/stefanteixeira

    Sobre

    http://stefanteixeira.com.brhttp://stefanteixeira.commailto:stefanfk@gmail.com?subject=http://twitter.com/stefan_teixeirahttp://linkedin.com/in/stefanteixeirahttp://github.com/stefanteixeirahttp://slideshare.net/stefanteixeira

  • No 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 tambm usado para web)

  • APIs REST

  • Exemplos

  • Alguns dos (vrios) outros recursos

    Cookies Sesses Filtros (before, after) Redirects Exception Mapping Arquivos estticos

  • Documentao

    http://sparkjava.com/documentation.html

    http://sparkjava.com/documentation.html

  • Tutoriais

    https://sparktutorials.github.io

    https://sparktutorials.github.io

  • Survey (Abril 2015)

    http://sparkjava.com/news.html#sparksurvey

    http://sparkjava.com/news.html#sparksurvey

  • Usando Spark em Testes de Integrao

  • Simuladores / mock services

  • Spark + Docker

    https://sparktutorials.github.io/2015/04/14/getting-started-with-spark-and-docker.html

    https://sparktutorials.github.io/2015/04/14/getting-started-with-spark-and-docker.html

  • Projeto de exemplo

    https://github.com/stefanteixeira/demo-spark

    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 esto na parte de baixo dos slides :)

    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-sparkhttps://github.com/mscharhag/blog-examples/tree/master/sparkdemo

  • Globalcode Open4education

    Stefan Teixeira @stefan_teixeira

    stefanfk@gmail.com stefanteixeira.com.br

    stefanteixeira.com

    Obrigado!

    https://twitter.com/stefan_teixeiramailto:stefanfk@gmail.com?subject=http://stefanteixeira.com.brhttp://stefanteixeira.com