Use REST web service to do calculating instead of Spring MVC