changed jaxrs servlet to dispatcher and service class to controller
traditionl spring