GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • Docs
  • Tutorials
  • News
  • Contact

This view

  • Original page
  • New address

GeezerVison is showing sparkjava.com — Tutorials - Spark Framework: An expressive web framework for Kotlin and Java

Tutorials

We recommend starting with either the Maven setup or Gradle setup tutorial, then going through the Basic webapp structure tutorial.

    Simple/short

  • Embedded Jetty with request logger

    Create a Spark instance with an embedded Jetty server containing a log4j request logger

  • Using Spark with Kotlin

    Use Kotlin with Spark to create a simple CRUD REST API.

  • JavaScript todo-list app

    Create a modern single page application in Spark and intercooler.js without writing JavaScript.

  • Basic webapp structure

    Create a basic Spark application with filters, controllers, authentication, localization, etc.

  • CORS example

    How to enable CORS in Spark.

  • Websocket chat app

    Use WebSockets in Spark to create a real-time chat app.

  • Deploying to Heroku

    Deploy a Spark Hello World application on Heroku!

  • Docker setup

    Get started with Spark on Docker

  • Gradle setup

    Set up a Spark application using Gradle 2.5 in Eclipse Luna.

  • Maven setup

    Set up a Spark project using Maven in IntelliJ IDEA and Eclipse.

    Intermediate/long

  • Building a contact app

    Create a full webapp for syncing your contact list, using Spark, Heroku, MongoDB and SRP authentication.

  • Building a Twitter clone

    Create a Twitter clone using Spark, Freemarker, Spring, and HSQLDB

  • Functional testing

    Write functional tests for Spark using cucumber.

  • Unit testing

    Example approach for Unit testing in Spark.

  • Spark on Raspberry Pi

    Use Spark as a webserver on a Raspberry Pi

  • Freemarker template example

    Create a HTML view of a blog

  • Database setup (sql2o)

    Connect Spark to a database using sql2o

  • Reducing java boilerplate

    Use Spark, Lombok and Jackson to create a boilerplate free REST service

The tutorials here are written by Spark users and reposted with their permission. If you have have a tutorial you want to submit, please create a pull request on GitHub, or send us an email.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.