For work I’ve been helping some folks with a demo Android app. They needed a backend to test against and so whipping up a servlet was suggested. A couple hours work…. if you’ve done it a bunch. So I hacked up a skeleton and promised some references. I thought I do it here and share. These are some of my favorite ingredients for throwing together a servlet backend.
- My preferred tiny server: Spark Java
- Some notes on a RESTful APIs: Principles of good RESTful API Design
- About HTTP response codes: HTTP Codes
- The Postman Chrome plugin for testing your API: Postman
- RESTful API tutorial: REST API Tutorial
- JSON Tutorial: JSON Tutorial
- My favorite free CI tool: Travis CI
- My favorite servlet hosting (w/ free level): OpenShift
- Posts I’ve written on glueing these together: here, here