I'm new to Spring framework and REST concepts. I've been working on a project to grasp these concepts efficiently. I'm building a quiz tool where a user can login using his credentials and take a quiz. I've created a RESTful API for same using JAX-RS. And now I want to create a Client which will work over this API, using Spring MVC. Is that possible and how to start with that ?? I mean, How do I use Spring MVC to create a Client for my RESTful API ??
some of my resources are -
GET /scorecard
GET /scorecard/{quizId}
GET /scorecard/{userId}
GET /quiz/{questionId}
POST /quiz/{questionId}
and so on..
I'm really confused about the design aspects about a client using Spring MVC. Do I include the logic of evaluating quiz,calculating & storing scores in the API or in the spring MVC client ??
Thanx in advance.