Spring Boot, Part 2 of 4: REST
Interactive

Spring Boot, Part 2 of 4: REST

LearnNow Online
Updated Sep 04, 2020

Course description

Spring Boot is an opinionated instance of a Spring application allowing rapid application development platform. It uses various components of Spring, but has additional functionalities. This course covers Representational State Transfer and Spring Boot. It will discuss API's, create a controller and also a Rest Client.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

Knowledge of Java and the Spring Framework


Meet the expert

Bharath Thipireddy

Bharath Thippireddy is an entrepreneur, software architect, public speaker, and trainer. Bharath is a Sun Certified Developer, Web Component Developer, Business Component Developer, and a Web Services Developer. While working for companies like Oracle, HP, TCS, Siemens, and NCR; Bharath has architected applications using Java, JEE, JavaScript, and SOA technologies. He loves learning new things both in technology and personal development and shares them on YouTube and his web site - Sharing is learning!. He has mentored students in classroom trainings, as well as in the corporate world, both in India as well as in USA. He has spoken on technical topics at several agile conferences. While in India he also voluntarily teaches interview and soft skills at Vivekananda Kendra.

Video Runtime

61 Minutes

Time to complete

112 Minutes

Course Outline

REST

REST CRUD API (14:11)

  • Introduction (00:13)
  • Rest Introduction (06:08)
  • REST Web Services using Spring Boot (01:26)
  • Create the DB Table (00:59)
  • Create the project (02:04)
  • Create the Model and Repository (02:16)
  • Mark with JPA annotations (00:54)
  • Summary (00:08)

Create Controller (15:40)

  • Introduction (00:08)
  • Create the Controller (02:57)
  • Get Single Product (02:13)
  • Create Update and Delete (03:26)
  • Configure The Data Source (01:12)
  • Run the application (02:26)
  • Running outside STS (03:07)
  • Summary (00:08)

SpringBoot Auto Config (17:01)

  • Introduction (00:08)
  • How Spring Boot Auto Configuration Works (06:31)
  • Configure Context Path (01:59)
  • Test Create FindAll (02:55)
  • Test FindById and Update (02:28)
  • Changing the Embedded Server (02:50)
  • Summary (00:08)

REST CLIENT (14:51)

  • Introduction (00:08)
  • Introduction (01:31)
  • RestTemplate GET method (04:14)
  • POST method (04:55)
  • PUT Method (03:53)
  • Summary (00:08)