Building a RESTful quotation service with Spring
I was recently made aware that a public API we were using for one of our guides contained objectionable material. After confirming this, I immediately responded that we would pick another source. Wishing to avoid such an issue in the future, I decided the best solution was to build our own RESTful quote service. So I decided to use the best tools to do so, the Spring stack, and was able to migrate the very next day.
Picking your tools
To kick things off, I made a check list of what I knew would be the right tools for the job of creating a RESTful web service.
- Spring Data JPA - quickly pre-load, fetch, and potentially update content
- Spring MVC - solid REST support since Spring 3
- Spring Boot - create all the needed components with little to no effort
- http://start.spring.io - assemble a project by simply checking the desired items on a form …