Simple java based restful web service