Restful Web Service Using Spring Boot

Learn to build RESTful web services using spring boot. Know the difference between @Controller and @RestController annotation.

Objective

In the section on database integration, we have exposed two additional business capabilities in the application

  1. Add a club
  2. Search for a club

However, to make that feature usable we need to expose the rest endpoint. In this lesson, we will learn how to expose the RESTweb service using the Spring Framework and key annotation provided by it to enable the RESTprinciple.

Get hands-on with 1200+ tech skills courses.