Master Java Web Services and REST API with Spring Boot [Video]

Preview in Mapt
Code Files

Master Java Web Services and REST API with Spring Boot [Video]

Ranga Karanam
New Release!

Learn to develop RESTful and SOAP Java web services with Spring and Spring Boot in 90 easy steps
Mapt Subscription
FREE
€29.73/m after trial
Video
€39.27
RRP €196.33
Save 79%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€39.27
€29.74 p/m after trial
RRP €196.33
Subscription
Video
Start 14 Day Trial

Frequently bought together


Master Java Web Services and REST API with Spring Boot [Video] Book Cover
Master Java Web Services and REST API with Spring Boot [Video]
€ 196.33
€ 39.27
Master Microservices with Spring Boot and Spring Cloud [Video] Book Cover
Master Microservices with Spring Boot and Spring Cloud [Video]
€ 196.33
€ 39.27
Buy 2 for €35.42
Save €300.20
Add to Cart

Video Details

ISBN 139781789130133
Course Length9 hours and 34 minutes

Video Description

Developing SOAP and RESTful web services is fun. The combination of Spring Boot, Spring Web MVC, Spring web services, and JPA makes it even more fun. Architectures are moving towards Microservices. RESTful web services are the first step to developing great Microservices. Spring Boot, in combination with Spring Web MVC (also called Spring REST) makes it easy to develop RESTful web services. There are two parts to this course: RESTful web services and SOAP web services. In the first part of the course, you will learn the basics of RESTful web services developing resources for a social media application. You will learn to implement these resources with multiple features such as versioning, exception handling, documentation (Swagger), basic authentication (Spring Security), filtering and HATEOAS. You will learn the best practices in designing RESTful web services. You will be using Spring (dependency management), Spring MVC (or Spring REST), Spring Boot, Spring Security (authentication and authorization), Spring Boot Actuator (monitoring), Swagger (Documentation), Maven (dependencies management), Eclipse (IDE), Postman (REST services client), and the Tomcat embedded web server. We will help you set up each one of these. While the use of SOAP web services is on the way down, there are still a considerable number of web services using this approach. In the second part of the course, you will learn the basics of implementing SOAP web services by developing a few web services for a course management application. You will learn to use a contract first approach, defining XSD (XML Schema Definition) for your requests and responses. You will learn about WSDL (SOAP header, SOAP body and SOAP fault), XSD (XML schema definition) and JAXB (Java API for XML binding). You will implement three SOAP web services with exception handling and basic security (with WS security). In this part of the course, you will be using Spring (dependency management), Spring web services , Spring Boot, Spring Security (authentication and authorization), Swagger (documentation), Maven (dependencies management), Eclipse (IDE), Wizdler (SOAP services Chrome Plugin), and the Tomcat embedded web server. We will help you set up each one of these.

Style and Approach

Very suitable for programmers moving to Spring Boot, especially if you are moving to microservices.

Table of Contents

Getting Started
Introduction
Introduction to Course & Course Guide
Introduction to Web Services
Introduction to Web Services - An Overview
What is a Web Service?
Important How Questions related to Web Services
Web Services - Key Terminology
Introduction to SOAP Web Services
Introduction to RESTful Web Services
SOAP vs RESTful Web Services
Introduction to Spring Framework in 10 Steps
First 10 Steps in Spring- An Overview
Step 1: Setting up a Spring Project using htttp://start.spring.io
Step 3: Making the Binary Search Algorithm Example Loosely Coupled
Step 4: Using Spring to Manage Dependencies - @Component, @Autowired
Step 5: What is happening in the background?
Step 6: Dynamic auto wiring and Troubleshooting - @Primary
Step 7: Constructor and Setter Injection
Step 8: Spring Modules
Step 9: Spring Projects
Step 10: Why is Spring Popular?
Step 2: Understanding Tight Coupling using the Binary Search Algorithm Example
Introduction to Spring Boot in 10 Steps
First 10 Steps in Spring Boot - An Overview
Step 1: Introduction to Spring Boot - Goals and Important Features
Step 2: Developing Spring Applications before Spring BootStep 2: Using Stubs – Disadvantages
Step 3: Using Spring Initializr to create
Step 4: Creating a Simple REST Controller
Step 5: What is Spring Boot Auto Configuration?
Step 6: Spring Boot vs Spring vs Spring MVC
Step 7: Spring Boot Starter Projects - Starter Web and Starter JPA
Step 8: Overview of different Spring Boot Starter Projects
Step 9: Spring Boot Actuator
Step 10: Spring Boot Developer Tools
SOAP Web Services with Spring and Spring Boot
SOAP Web Services - An Overview
Step 01 - Initialize a Spring Web Services application with Spring Boot
Step 02 - Overview of creating SOAP Web Service using Contract First Approach
Step 03 - Define Request and Response XML Structure
Step 04 - Define XML Schema Definition (XSD) for Request – GetCourseDetailsReque
Step 05 - Define XML Schema Definition (XSD) for Response – GetCourseDetailsResp
Step 06 - More about XML Schema Definition and Implementing XSD Best Practices
Step 07 - Introduction to Java API for XML Binding (JAXB) and Configuring JAXB 2
Step 08 - Configuring an Endpoint for GetCourseDetailsRequest
Step 09 - Spring Web Services Configuration - Message Dispatcher Servlet
Step 10 - Spring Web Services Configuration - Generating WSDL
Step 11 - Using Wizdler to execute SOAP Requests
Step 12 - Implementing a service - Course Details Service - backend with in memo
Step 13 - Implementing SOAP Web Service for GetAllCourseDetailsRequest
Step 14 - Quick introduction to different parts of a WSDL
Step 15 - Implementing SOAP Web Service for DeleteCourseDetailsRequest
Step 16 - Improving the DeleteCourseDetailsRequest - Using an Enum for Status
Step 17 - Exception Handling and SOAP Fault Responses
Step 18 - Implementing Security for SOAP Web Services with WS Security
RESTful Web Services with Spring and Spring Boot
RESTful Web Services - An Overview
Step 01 - Initializing a RESTful Services Project with Spring Boot
Step 02 - Understanding the RESTful Services we would create in this course
Step 03 - Creating a Hello World Service
Step 04 - Enhancing the Hello World Service to return a Bean
Step 05 - Quick Review of Spring Boot Auto Configuration and Dispatcher Servlet
Step 06 - Enhancing the Hello World Service with a Path Variable
Step 07 - Creating User Bean and User Service
Step 08 - Implementing GET Methods for User Resource
Step 09 - Implementing POST Method to create User Resource
Step 10 - Enhancing POST Method to return correct HTTP Status Code and Location
Step 11 - Implementing Exception Handling - 404 Resource Not Found
Step 12 - Implementing Generic Exception Handling for all Resources
Step 13 - Exercise: User Post Resource and Exception Handling
Step 14 - Implementing DELETE Method to delete a User Resource
Step 15 - Implementing Validations for RESTful Services
Step 16 - Implementing HATEOAS for RESTful Services
Step 17 - Overview of Advanced RESTful Service Features
Step 18 - Internationalization for RESTful Services
Step 19 - Content Negotiation - Implementing Support for XML
Step 20 - Configuring Auto Generation of Swagger Documentation
Step 21 - Introduction to Swagger Documentation Format
Step 22 - Enhancing Swagger Documentation with Custom Annotations
Step 23 - Monitoring APIs with Spring Boot Actuator
Step 24 - Implementing Static Filtering for RESTful Service
Step 25 - Implementing Dynamic Filtering for RESTful Service
Step 26 - Versioning RESTful Services - Basic Approach with URIs
Step 27 - Versioning RESTful Services - Header and Content Negotiation Approach
Step 28 - Implementing Basic Authentication with Spring Security
Introduction to JPA in 10 Steps
Introduction to JPA - An Overview
Step 1: Object Relational Impedence Mismatch
Step 2: World before JPA - JDBC, Spring JDBC and myBatis
Step 3: Introduction to JPA
Step 4: Creating a JPA Project using Spring Initializr
Step 5: Defining a JPA Entity – User
Step 6: Defining a Service to manage the Entity - UserService and EntityManager
Step 7: Using a Command Line Runner to save the User to database
Step 8: Magic of Spring Boot and In Memory Database H2
Step 9: Introduction to Spring Data JPA
Step 10: More JPA Repository: findById and findAll
Connecting RESTful Web Service to JPA
Step 29 - Overview of Connecting RESTful Service to JPA
Step 30 - Creating User Entity and some test data
Step 31 - Updating GET methods on User Resource to use JPA
Step 32 - Updating POST and DELETE methods on User Resource to use JPA
Step 33 - Creating Post Entity and Many to One Relationship with User Entity
Step 34 - Implementing a GET service to retrieve all Posts of a User
Step 35 - Implementing a POST service to create a Post for a User
RESTful Web Services - Best Practices
Step 36 - Richardson Maturity Model
Step 37 - RESTful Web Services - Best Practices

What You Will Learn

  • You will learn to design and develop SOAP and RESTful web services with Spring Boot.
  • You will learn the magic of Spring Boot including auto-configuration, Spring Initializr, and starter projects, as well as how to connect web services to JPA/Hibernate with Spring Boot. 
  • You will learn how to implement exception handling, validation, HATEOAS, and filtering for RESTful web services.
  • You will learn to use a wide variety of Spring Boot starter projects including Spring Boot web, Spring Boot web services, and Spring Boot data JPA. 
  • You will learn how to version, monitor (Spring Boot actuator) and document (Swagger) your RESTful web services with Spring Boot find our about WSDL, SOAP Header, SOAP Body, SOAP Fault, XSD, JAXB and EndPoint

Authors

Table of Contents

Getting Started
Introduction
Introduction to Course & Course Guide
Introduction to Web Services
Introduction to Web Services - An Overview
What is a Web Service?
Important How Questions related to Web Services
Web Services - Key Terminology
Introduction to SOAP Web Services
Introduction to RESTful Web Services
SOAP vs RESTful Web Services
Introduction to Spring Framework in 10 Steps
First 10 Steps in Spring- An Overview
Step 1: Setting up a Spring Project using htttp://start.spring.io
Step 3: Making the Binary Search Algorithm Example Loosely Coupled
Step 4: Using Spring to Manage Dependencies - @Component, @Autowired
Step 5: What is happening in the background?
Step 6: Dynamic auto wiring and Troubleshooting - @Primary
Step 7: Constructor and Setter Injection
Step 8: Spring Modules
Step 9: Spring Projects
Step 10: Why is Spring Popular?
Step 2: Understanding Tight Coupling using the Binary Search Algorithm Example
Introduction to Spring Boot in 10 Steps
First 10 Steps in Spring Boot - An Overview
Step 1: Introduction to Spring Boot - Goals and Important Features
Step 2: Developing Spring Applications before Spring BootStep 2: Using Stubs – Disadvantages
Step 3: Using Spring Initializr to create
Step 4: Creating a Simple REST Controller
Step 5: What is Spring Boot Auto Configuration?
Step 6: Spring Boot vs Spring vs Spring MVC
Step 7: Spring Boot Starter Projects - Starter Web and Starter JPA
Step 8: Overview of different Spring Boot Starter Projects
Step 9: Spring Boot Actuator
Step 10: Spring Boot Developer Tools
SOAP Web Services with Spring and Spring Boot
SOAP Web Services - An Overview
Step 01 - Initialize a Spring Web Services application with Spring Boot
Step 02 - Overview of creating SOAP Web Service using Contract First Approach
Step 03 - Define Request and Response XML Structure
Step 04 - Define XML Schema Definition (XSD) for Request – GetCourseDetailsReque
Step 05 - Define XML Schema Definition (XSD) for Response – GetCourseDetailsResp
Step 06 - More about XML Schema Definition and Implementing XSD Best Practices
Step 07 - Introduction to Java API for XML Binding (JAXB) and Configuring JAXB 2
Step 08 - Configuring an Endpoint for GetCourseDetailsRequest
Step 09 - Spring Web Services Configuration - Message Dispatcher Servlet
Step 10 - Spring Web Services Configuration - Generating WSDL
Step 11 - Using Wizdler to execute SOAP Requests
Step 12 - Implementing a service - Course Details Service - backend with in memo
Step 13 - Implementing SOAP Web Service for GetAllCourseDetailsRequest
Step 14 - Quick introduction to different parts of a WSDL
Step 15 - Implementing SOAP Web Service for DeleteCourseDetailsRequest
Step 16 - Improving the DeleteCourseDetailsRequest - Using an Enum for Status
Step 17 - Exception Handling and SOAP Fault Responses
Step 18 - Implementing Security for SOAP Web Services with WS Security
RESTful Web Services with Spring and Spring Boot
RESTful Web Services - An Overview
Step 01 - Initializing a RESTful Services Project with Spring Boot
Step 02 - Understanding the RESTful Services we would create in this course
Step 03 - Creating a Hello World Service
Step 04 - Enhancing the Hello World Service to return a Bean
Step 05 - Quick Review of Spring Boot Auto Configuration and Dispatcher Servlet
Step 06 - Enhancing the Hello World Service with a Path Variable
Step 07 - Creating User Bean and User Service
Step 08 - Implementing GET Methods for User Resource
Step 09 - Implementing POST Method to create User Resource
Step 10 - Enhancing POST Method to return correct HTTP Status Code and Location
Step 11 - Implementing Exception Handling - 404 Resource Not Found
Step 12 - Implementing Generic Exception Handling for all Resources
Step 13 - Exercise: User Post Resource and Exception Handling
Step 14 - Implementing DELETE Method to delete a User Resource
Step 15 - Implementing Validations for RESTful Services
Step 16 - Implementing HATEOAS for RESTful Services
Step 17 - Overview of Advanced RESTful Service Features
Step 18 - Internationalization for RESTful Services
Step 19 - Content Negotiation - Implementing Support for XML
Step 20 - Configuring Auto Generation of Swagger Documentation
Step 21 - Introduction to Swagger Documentation Format
Step 22 - Enhancing Swagger Documentation with Custom Annotations
Step 23 - Monitoring APIs with Spring Boot Actuator
Step 24 - Implementing Static Filtering for RESTful Service
Step 25 - Implementing Dynamic Filtering for RESTful Service
Step 26 - Versioning RESTful Services - Basic Approach with URIs
Step 27 - Versioning RESTful Services - Header and Content Negotiation Approach
Step 28 - Implementing Basic Authentication with Spring Security
Introduction to JPA in 10 Steps
Introduction to JPA - An Overview
Step 1: Object Relational Impedence Mismatch
Step 2: World before JPA - JDBC, Spring JDBC and myBatis
Step 3: Introduction to JPA
Step 4: Creating a JPA Project using Spring Initializr
Step 5: Defining a JPA Entity – User
Step 6: Defining a Service to manage the Entity - UserService and EntityManager
Step 7: Using a Command Line Runner to save the User to database
Step 8: Magic of Spring Boot and In Memory Database H2
Step 9: Introduction to Spring Data JPA
Step 10: More JPA Repository: findById and findAll
Connecting RESTful Web Service to JPA
Step 29 - Overview of Connecting RESTful Service to JPA
Step 30 - Creating User Entity and some test data
Step 31 - Updating GET methods on User Resource to use JPA
Step 32 - Updating POST and DELETE methods on User Resource to use JPA
Step 33 - Creating Post Entity and Many to One Relationship with User Entity
Step 34 - Implementing a GET service to retrieve all Posts of a User
Step 35 - Implementing a POST service to create a Post for a User
RESTful Web Services - Best Practices
Step 36 - Richardson Maturity Model
Step 37 - RESTful Web Services - Best Practices

Video Details

ISBN 139781789130133
Course Length9 hours and 34 minutes
Read More

Read More Reviews

Recommended for You

Master Microservices with Spring Boot and Spring Cloud [Video] Book Cover
Master Microservices with Spring Boot and Spring Cloud [Video]
€ 196.33
€ 39.27
Master Hibernate and JPA with Spring Boot in 100 Steps [Video] Book Cover
Master Hibernate and JPA with Spring Boot in 100 Steps [Video]
€ 196.33
€ 39.27
Web Services/REST API Testing with SoapUI+ Real Time Projects [Video] Book Cover
Web Services/REST API Testing with SoapUI+ Real Time Projects [Video]
€ 201.09
€ 40.22
Rest API Automation With Rest Assured - Novice To Ninja [Video] Book Cover
Rest API Automation With Rest Assured - Novice To Ninja [Video]
€ 198.71
€ 39.74
Building Web Services with Java EE 8 [Video] Book Cover
Building Web Services with Java EE 8 [Video]
€ 124.93
€ 24.99
REST API Automation testing from scratch-(REST Assured java) [Video] Book Cover
REST API Automation testing from scratch-(REST Assured java) [Video]
€ 198.71
€ 39.74