D-SPR-REST
Developing RESTful Services with Spring
This course enables the experienced Java developer to use the Spring MVC framework to create RESTful web services. We begin by developing fluency with the Spring container and configuration practices, and then learn the annotation-driven MVC system for REST controllers.

We will introduce you to Spring Boot which takes an opinionated view of building Spring applications and gets you up and running as quickly as possible.

Spring Data’s mission is to provide a familiar and consistent, Spring-based programming model for data access while still retaining the special traits of the underlying data store.

Spring Data REST is part of the umbrella Spring Data project and makes it easy to build hypermedia-driven REST web services on top of Spring Data repositories.


Description

  1. Introduction to Spring Boot
    • Introducing Spring Boot
    • Installing Spring Boot
    • Developing your first Spring Boot application
  2. Using Spring Boot
    • Structuring your code
    • Configuration Classes
    • Running Application
  3. Spring MVC
    • MVC and Spring MVC
    • Spring MVC configuration
    • Dispatcher Servlet, request life cycle
    • Creating controllers
    • Mapping requests to controllers
    • Validating input
  4. RESTful Services
    • RESTful web services with Spring MVC
    • Handling Requests
    • Producing Responses
    • Error Handling and Validation
  5. Object Relational Mapping-ORM
    • Introduction to JPA
    • Entities
    • Multiplicity in Entity Relationships
    • Entity Inheritance
    • Managing Entities
    • Spring and JPA
    • Java Persistence Query Language (JPQL)
    • Criteria API
  6. Persistence with Spring Data JPA
    • Spring Data Project
    • Working with Repositories
    • Defining Query Methods
    • Query Creation from Method Names
    • Custom Repositories
  7. Exporting Spring Data JPA Repositories as REST Services:Spring Data Rest
    • Configuring Spring Data REST
    • Basic settings for Spring Data REST
    • Repository resources
    • Paging and Sorting
    • Domain Object Representations

Audience

This course is in advanced series and designed for senior developers, software & system architects, project managers involved with the development of Restful applications with Spring MVC.

Duration

3 days

Format

Instructor Lead

Prerequisites

Prior experience of Spring Framework and Maven are required