In this tutorial you will learn how to create a basic Spark application with filters, controllers, views, authentication, localization, error handling, and more.
Some boilerplate code to enable CORS on your Spark server.
In this tutorial you will learn how to use the Spark Debug Tools for easier development.
In this tutorial you will learn to work with WebSockets to create a real-time chat app.
In this tutorial series you will learn an approach for writing testable Spark applications from the ground up. In part one we looked at what and when to test, and wrote unit tests. In this post we will have a look at functional tests.
This tutorial will walk you through the steps of creating a mini Twitter clone using Spark, Freemarker, Spring, and HSQLDB to show you how to build a simple but complete web application.
In this tutorial you will learn how to deploy a Hello World application on Heroku!
Our friends over at learnhowtoprogram.com have been working on a series of Java courses for beginners, all of which feature Spark. This post contains an overview of these courses with direct links to their videos.
In this tutorial series you will learn an approach for writing testable Spark applications from the ground up. In part one we will discuss what and when to test, and write some unit tests. In part two we will cover functional tests.
This tutorial will show you how to turn your Raspberry Pi into a webserver in a matter of minutes, using Spark and Groovy. Spark was chosen for the tutorial because "Spark is as easy as it gets".
The tutorial is written by Renato Athaydes and originally appeared on his google site.
In previous posts we have seen how to develop a RESTful service using Spark and we have implemented a service to manage a blog. In this post we are going to create an HTML view of the blog, showing how the same data can be exposed through both JSON and HTML.
This tutorial will teach you how to use a database with your Spark application. We will discuss when it is appropriate to use an ORM and describe how you can organize your code to make it easily testable.
This tutorial provides a short and simple example on how to get started with Java development on Docker.
Spark was chosen for the tutorial because it can "get you started with minimal overhead and upfront knowledge". The tutorial is written by GiantSwarm's Matthias Lübken and originally appeared on their blog.
This tutorial will teach you how to create a minimal RESTful application for a blog, using JSON to transfer data. You will learn about setting up a complete Spark project, using Jackson and Lombok for awesome descriptive exchange objects.
We will learn how to set up a Spark application using Gradle. For that we will use Eclipse Luna IDE and Gradle 2.5.
In this tutorial you will learn how to set up a Spark project using Maven. It's aimed at Java beginners, and will show you how to set up your project in IntelliJ IDEA and Eclipse.
This website will be used to collect tutorials about Spark. We aim to provide one tutorial every month until summer:
- April 2015: Spark for REST APIs: Using Spark, Lombok and Jackson to reduce Java boilerplate
- May 2015: Spark and data persistence: Integration with sql2o
- June 2015: Spark for websites: Working with Freemarker
- July 2015: Spark in the Cloud: AWS and Docker