Java application which provides json web service.