Rest Api Development Using Spring Boot
Courses

Lorem ipsum is a dummy or placeholder text commonly used in graphic design, publishing, and web development to fill empty spaces
24 Hours Instructor Led Live Classroom Training
Course Objectives
- Participants in this course will gain knowledge in the design and implementation of RESTful APIs using Spring Boot.
- They will learn about the concepts of REST, HTTP methods, URI design, and HATEOAS.
- The course covers the use of Spring Boot to initialize and create RESTful services, and how to enhance and customize them using features such as exception handling, content negotiation, versioning, and filtering.
- Additionally, participants will learn how to connect their RESTful services with databases using ORM tools such as Hibernate/JPA.
- The course also covers the use of Swagger for API documentation and monitoring, and Spring Boot Actuator for monitoring and management of RESTful services.
Course Content
REST API Design - Concepts
- Introduction to REST
- REST and HTTP
- Designing Resource URI's
- RESTful URI types
- HTTP Methods
- Idempotence in HTTP Methods
- Rest Resource
- HATEOAS
- The Richardson Maturity Model
- Jax-RS vs Spring MVC Rest
Spring Boot RESTful Introduction
- Spring Restful Overview
- Initializing a RESTful Services Project with Spring Boot
- Creating a Hello World Service
- Enhancing the Hello World Service to return a Bean
Restful Web Services with Spring Boot
- Enhancing the Hello World Service with a Path Variable
- Creating User Bean and User Service
- Implementing GET Methods for User Resource
- Implementing POST Method to create User Resource
- Enhancing POST Method to return correct HTTP Status Code and Location
- Implementing DELETE Method to delete a User Resource
Restful Web Services with Exception Handling, Internationalization & Content Negotiation
- Implementing Exception Handling - 404 Resource Not Found
- Implementing Generic Exception Handling for all Resources
- Internationalization & Content Negotiation
Restful development with HATEOAS, Swagger, Filtering & Versioning
- Introduction to Swagger Documentation Format
- Enhancing Swagger Documentation with Custom Annotations
- Monitoring APIs with Spring Boot Actuator
- Implementing Static & Dynamic Filtering for RESTful Service
- Versioning RESTful Services - Basic Approach with URIs
- Versioning RESTful Services - Header and Content Negotiation Approach
Overview of Connecting RESTful Service using Spring Data
- ORM overview (Hibernate/JPA)
- Creating User Entity and some test data
- Updating GET, POST, DELETE methods on User Resource to use JPA
- Creating Post Entity and Many to One Relationship with User Entity