A standalone rest api with JavaSE