Video description
This video course offers a comprehensive overview of developing both SOAP and RESTful web services using Spring Boot, Spring Web MVC, Spring Web Services, and JPA. The course begins with an introduction to the basics of RESTful web services and their significance in a microservices architecture.
The course is divided into two parts: RESTful web services and SOAP web services. In the first part, you will learn the fundamentals of RESTful web services by developing resources for a social media application. You will explore various features such as versioning, exception handling, documentation (Swagger), basic authentication (Spring Security), filtering, and HATEOAS, along with best practices in designing RESTful web services.
Throughout the course, you will be working with various tools and frameworks, such as 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.
By the end of the course, you will have a solid understanding of how to develop both SOAP and RESTful web services using Spring and be able to apply these skills to real-world projects.
What You Will Learn
- Design resources and execute GET, POST, and DELETE operations
- Implement validation for RESTful web services
- Handle exceptions in RESTful web services
- The concept of HATEOAS and how to implement it for a resource
- Different approaches to versioning RESTful services
- Use Postman to make requests to RESTful services
Audience
If you are looking to acquire a foundational understanding of web services and associated terminology and want to learn how to develop and design RESTful and SOAP web services, this course is perfect for you. Whether you are an experienced Java developer seeking to expand your skills, or a Spring expert looking to leverage your knowledge, this course has everything you need to take your web services proficiency to the next level.
About The Author
In28Minutes Official: Ranga Karanam is a seasoned technologist and architect with over two decades of expertise in programming, design, and architecture. He founded in28Minutes with the goal of helping students master cutting-edge cloud-native technologies such as AWS, Azure, Google Cloud, Docker, and Kubernetes. With 15 years of experience in Java programming and design, Ranga has collaborated with top banking clients worldwide.
His passion for creating hands-on courses with real-world projects motivated him to develop the Step-By-Step series of courses that follow a problem-solution-based approach, with practical and real-world application examples.
Ranga and his team at in28Minutes specialize in Java and related frameworks such as Spring, Spring Boot, Spring MVC, Struts, and Hibernate. They are committed to equipping learners with the skills and knowledge necessary to succeed in today’s rapidly evolving technology landscape.
Table of contents
- Chapter 1 : Getting Started
- Chapter 2 : Introduction to Web Services
-
Chapter 3 : Introduction to Spring Framework in 16 Steps
- Step 01 - Getting Started with Spring Framework - Goals
- Step 02 - Setting Up New Spring Project with Spring Initializr
- Step 03 - Iteration 1 - Building Tightly Coupled GameRunner and MarioGame
- Step 04 - Understanding Tight Coupling
- Step 05 - Iteration 2 - Loose Coupling Level 1 - Interfaces
- Step 06 - Exploring Loose Coupling with Interfaces – Pacman Game
- Step 07 - Iteration 3 - Loose Coupling Level 2 - Spring Framework
- Step 08 - Q1 - Spring Framework - Understanding What's Happening in the Background
- Step 09 - Q2 - Spring Framework - Understanding Important Terminology
- Step 10 - Q3 - Spring Framework - Does Spring Framework Add Value
- Step 11 - Q4 - Spring Framework - Running Super Contra
- Step 12 - Q5 - Spring Framework - Maven
- Step 13 - Exploring Spring Framework Dependency Injection Types
- Step 14 - Exploring Spring Modules
- Step 15 - Exploring Spring Projects
- Step 16 - Getting Started with Spring Framework - Review
-
Chapter 4 : Introduction to Spring Boot in 14 Steps
- Step 01 - Getting Started with Spring Boot - Goals
- Step 02 - Understanding the World Before Spring Boot – 10,000 Feet Overview
- Step 03 - Setting Up New Spring Boot Project with Spring Initializr
- Step 04 - Build a Hello World API with Spring Boot
- Step 05 - Understanding the Goal of Spring Boot
- Step 06 - Understanding Spring Boot Magic - Spring Boot Starter Projects
- Step 07 - Understanding Spring Boot Magic - Autoconfiguration
- Step 08 - Build Faster with Spring Boot DevTools
- Step 09 - Get Production Ready with Spring Boot - 1 - Profiles
- Step 10 - Get Production Ready with Spring Boot - 2 - ConfigurationProperties
- Step 11 - Get Production Ready with Spring Boot - 3 - Embedded Servers
- Step 12 - Get Production-Ready with Spring Boot - 4 - Actuator
- Step 13 - Understanding Spring Boot Versus Spring Versus Spring MVC
- Step 14 - Getting Started with Spring Boot - Review
-
Chapter 5 : 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 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
-
Chapter 6 : RESTful Web Services with Spring and Spring Boot
- Step 00 - Creating a REST API with Spring Boot - An Overview
- Step 01 - Initializing a REST API Project with Spring Boot
- Step 02 - Creating a Hello World REST API with Spring Boot
- Step 03 - Enhancing the Hello World REST API to Return a Bean
- Step 04 – What's Happening in the Background? Spring Boot Starters and Autoconfign
- Step 05 - Enhancing the Hello World REST API with a Path Variable
- Step 06 - Designing the REST API for Social Media Application
- Step 07 - Creating User Bean and UserDaoService
- 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 - Implementing DELETE Method to Delete a User Resource
- Step 14 - Implementing Validations for REST API
- Step 15 - Overview of Advanced REST API Features
- Step 16 - Understanding Open API Specification and Swagger
- Step 17 - Configuring Auto-Generation of Swagger Documentation
- Step 18 - Exploring Content Negotiation - Implementing Support for XML
- Step 19 - Exploring Internationalization for REST API
- Step 20 - Versioning REST API - URI Versioning
- Step 21 - Versioning REST API - Request Param, Header, and Content Negotiation
- Step 22 - Implementing HATEOAS for REST API
- Step 23 - Implementing Static Filtering for REST API
- Step 24 - Implementing Dynamic Filtering for REST API
- Step 25 - Monitoring APIs with Spring Boot Actuator
- Step 26 - Exploring APIs with Spring Boot HAL Explorer
-
Chapter 7 : Introduction to JPA in 12 Steps
- Step 01 - Getting Started with JPA and Hibernate - Goals
- Step 02 - Setting Up New Spring Boot Project for JPA and Hibernate
- Step 03 - Launching Up H2 Console and Creating Course Table in H2
- Step 04 - Getting Started with Spring JDBC
- Step 05 - Inserting Hardcoded Data Using Spring JDBC
- Step 06 - Inserting and Deleting Data Using Spring JDBC
- Step 07 - Querying Data Using Spring JDBC
- Step 08 - Getting Started with JPA and EntityManager
- Step 09 - Exploring the Magic of JPA
- Step 10 - Getting Started with Spring Data JPA
- Step 11 - Exploring Features of Spring Data JPA
- Step 12 - Understanding Difference Between Hibernate and JPA
-
Chapter 8 : Connecting RESTful Web Service to JPA
- Step 27 - Connecting REST API to H2 Using JPA and Hibernate - An Overview
- Step 28 - Creating User Entity and Some Test Data
- Step 29 - Enhancing REST API to Connect to H2 Using JPA and Hibernate
- Step 30 - Creating Post Entity with Many-to-One Relationship with User Entity
- Step 31 - Implementing a GET API to Retrieve All Posts of a User
- Step 32 - Implementing a POST API to Create a Post for a User
- Step 33 - Exploring JPA and Hibernate Queries for REST API
- Step 34 - Connecting REST API to MySQL Database - An Overview
- Step 34z - Optional - Installing Docker
- Step 35 - Optional - Connecting REST API to MySQL Database - Implementation
- Step 36 - Implementing Basic Authentication with Spring Security
- Step 37 - Enhancing Spring Security Configuration for Basic Authentication
- Chapter 9 : RESTful Web Services - Best Practices
- Chapter 10 : Congratulations
-
Chapter 11 : Appendix - Introduction to Functional Programming in 30 Minutes
- Step 00 - Introduction to Functional Programming - Overview
- Step 01 - Getting Started with Functional Programming with Java
- Step 02 - Writing Your First Java Functional Program
- Step 03 - Improving Java Functional Program with Filter
- Step 04 - Using Lambda Expression to Enhance Your Functional Program
- Step 05 - Do Functional Programming Exercises with Streams, Filters, and Lambdas
- Step 06 - Using Map in Functional Programs - with Exercises
- Step 07 - Understanding Optional Class in Java
- Step 08 - Quick Review of Functional Programming Basics
Product information
- Title: Master Java Web Services and REST API with Spring Boot
- Author(s):
- Release date: March 2023
- Publisher(s): Packt Publishing
- ISBN: 9781789130133
You might also like
video
Master Microservices with Spring Boot and Spring Cloud
Beginning with the basics, this course covers the core principles of microservices architecture, contrasting it with …
book
Hands-On Microservices with Spring Boot and Spring Cloud
Apply microservices patterns to build resilient and scalable distributed systems Key Features Understand the challenges of …
book
Microservices with Spring Boot and Spring Cloud - Second Edition
Create and deploy production-quality microservices-based applications — New edition updated for the smooth running of Spring, …
video
Spring Boot Fundamentals
Spring is one of the most widely used frameworks in the industry. Whether you are an …