http://giulianobertoti.github.io/RESTful_Java/
A full and simple RESTful architecture server implemented in Java
how to use:
Execute the Test class, and then put into the browser:
http://127.0.0.1:4567/phones/android
The response must be:
[{"model":"Galaxy","price":1400,"color":"Silver","brand":"Samsung","OS":"android"},{"model":"Galaxy","price":1400,"color":"Silver","brand":"Samsung","OS":"android"}]
The following libraries are required:
- db4o-8.0.249.16098-all-java5.jar
- jetty-6.0.0beta6.jar
- log4j-1.2.14.jar
- org.json-20120521.jar
- servlet-api-3.0.pre4.jar
- slf4j-api-1.6.1.jar
- slf4j-log4j12-1.6.1.jar
- spark-0.9.9-SNAPSHOT.jar
Copyright 2014 Giuliano Bertoti Released under the MIT license github.com/giulianobertoti