Skip to content
UdemyJava Spring FrameworkPaid courseAll LevelsCertificate

[NEW] Spring Boot 4, Spring Framework 7: Beginner to Guru (Udemy.com)

Spring 7, Spring Boot 4, Spring MVC, JPA/Hibernate, Mongo, Spring Security, OAuth2 JWT, MySQL, Docker/K8s, Microservices

Created by: John Thompson

Last updated August 2026

icon
What you will learn

  • Learn to Build a Spring Boot Web Applications with Spring Boot 4, Spring Framework 7 and Java 25
  • Create Spring Boot RESTful Web Services using SpringMVC, Spring Webflux, Spring WebFlux-fn, and Spring Data REST
  • Secure APIs with Spring Security, OAuth 2.0, and JWT using Spring Authorization Server
  • Consume RESTful APIs using Spring RestTemplate, Spring WebClient, and Spring RestClient (new in Spring 6.2)
  • Use Spring Data JPA with Hibernate, Spring Data Mongo, and Spring Data R2DBC
  • How to build Event Driven Microservices with Spring Boot and Apache Kafka
  • Test Spring MVC using Spring MockMVC, JUnit 6, and Mockito
  • Run Spring Boot Applications with Docker, Docker Compose, and Kuberentes
  • How to Access a MySQL Database with Spring Boot
  • Use Flyway Under Spring Boot for Database Migrations
  • Use Project Lombok and MapStruct to Speed Up Your Development
  • Configure HTTP Basic Auth with Spring Security

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 88 / 100

icon
Course Description

This course is All Things Spring!

Do you wish to Master Spring Boot 4 and Spring Framework 7? Then this is the course for you.

This comprehensive course is for developers with no previous Spring Framework or Spring Boot experience.

You will master developing RESTful APIs with Spring Framework. Spring has three different options of creating RESTFul APIs: Spring MVC, Spring WebFlux, and Spring WebFlux.fn. You will see how to use each, and how to secure each using OAuth 2.0 with JWT.

Also covered in the course are popular persistence technologies. You will learn to use Spring Data JPA with Hibernate, Spring Data MongoDB, and Reactive with Spring R2DBC with MySQL.

You will see how to build event driven microservices using Spring Boot and Apache Kafka. You will be guided step by step to implement the event driven microservice example Spring Integration Cafe Sample project which was inspired by Gregor Hohpe’s classic post “Starbucks Does Not Use Two-Phase Commit”.

All examples in the course use Java 25 and Spring Boot 4.0.0 (Released November 2025).

Inside this course, you will learn about:

  • Build a Spring Boot Web App

  • Use Spring for Dependency Injection

  • Create RESTful Web Services with Spring MVC

  • Create RESTful Web Services with Spring Webflux

  • Create RESTful Web Services with Spring Webflux.fn

  • Learn Best Practices using Project Lombok with Spring

  • Create MapStruct Mappers as Spring Components

  • Spring MockMVC with Mockito and JUnit 5

  • Spring Data JPA

  • Spring Data MongoDB

  • Spring Data R2DBC (Reactive)

  • Spring RestTemplate

  • Spring RestClient

  • Spring WebClient

  • Spring WebTestClient

  • Spring Security HTTP Basic Authentication

  • Spring Security OAuth2 Authentication w/ JWT

  • Spring Authorization Server

  • Spring WebMVC OAuth2 Resource Server

  • Spring WebFlux OAuth2 Resource Server

  • Spring Cloud Gateway

  • Spring Boot Actuator

  • Spring AI

  • Spring Kafka

  • Spring Caching

  • Spring Application Events

  • Spring Boot Maven Plugin

  • Spring Boot Gradle Plugin

  • Spring Boot Test Containers

  • Spring Boot Docker Compose

  • Use Java Bean Validation with Spring

  • Spring Boot Auto-Configuration with MySQL

  • Use Spring Boot and Flyway for Database Migrations

  • Hibernate Database Relationship Mapping with Spring Data JPA

  • Build Docker Images using Spring Boot

  • Run Spring Boot Applications in Docker Containers

  • Use Docker Compose to run Spring Boot Applications

  • Deploy Spring Boot Applications to Kubernetes

  • Structured Logging with Spring Boot

Spring AI - Learn to use OpenAI with Spring!

This is the first major Spring course to include a section on Spring AI. You will learn how to leverage OpenAI's ChatGPT API using Spring AI.

Course Updates

  • April 2024 - Introduction to Spring AI added to Course

  • May 2024 - Course Updated to Java 21 and Spring Boot version 3.3.0

  • May 2024 - Spring RestClient - NEW to Spring Framework 6.1

  • June 2024 - Using Spring Boot with Docker, Docker Compose and Kubernetes

  • November 2024:

    • Adding Spring Professional Certification Practice Test - 100 questions to test your Spring knowledge!

    • Course Updated to Spring Boot version 3.4.0, includes content on the new Structured Logging feature.

    • Added section on using Spring Boot Test Containers and Spring Boot Docker Compose

  • December 2024 - Add content for building microservices with Spring Boot and working with Apache Kafka

  • June 2025 - Added extra section for Introduction to Junie and JetBrains AI. Catch the vibe with agentic coding!

  • November 2025 - Course Updated for Spring Boot 4, Spring Framework 7, and Java 25

Spring Core

At the core of the Spring Framework is the Spring IoC Container. Inversion of Control is a design pattern where control is inverted compared to procedural programming. In procedural programming, the software calls reusable components to complete tasks. In contrast, with IoC it is the framework which calls the reusable libraries. Development with IoC becomes very efficient since the focus is more on the custom business logic and common logic is left to the framework to perform.

Spring MVC

SpringMVC is Spring Framework's original web application framework. Spring MVC implements the model-view-controller design pattern, where a model (data) is shared with with a controller which presents the data to the end user in the view (HTML, JSON, XML, etc).  In this course you will learn how to develop RESTful APIs using Spring MVC.

Spring Webflux

Spring Webflux was introduced to the Spring Framework in version 5. Spring Webflux is a reactive web application framework using non-blocking Java components for building efficient and scalable web applications.  Like Spring MVC, Spring Webflux also implements the model-view-controller design pattern. Spring Webflux closely follows the familiar syntax of Spring MVC. In this course you will learn to use Spring Webflux to create modern RESTful APIs.

Spring Webflux.fn

Spring Webflux.fn was also introduced in Spring Framework version 5. Spring Webflux.fn follows a functional programming paradigm. Through the use of functional programming, you can rapidly develop API endpoints. In this course you will learn how to use the functional programming paradigm of Spring Webflux.fn to develop RESTful APIs.

Spring Data

Spring Data is a family of Spring Framework projects for persistence operations to SQL and NoSQL databases. The Spring Data projects implement the easy to use Repository Pattern to persist objects to the database. In this course you will see how to use Spring Data JPA for persistence with SQL databases, how to use Spring Data Mongo for persistence to the NoSQL Mongo Database, and how to use Spring Data R2DBC for reactive/non-blocking SQL database persistence.

Spring Security

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

John Thompson

Hi. I'm John.

I've been in the IT industry for over 25 years. Today, I specialize mainly in Java, the most successful and widely known programming language in use today. I also specialize with the Spring Framework, which the most popular open source application framework for building enterprise class applications on the Java platform. Just some of the organizations I've worked with include Visa, Kohls, Federal Home Loan Bank, and Belk Department Stores.

Through the courses I'm providing, I hope to leverage my years of experience to accelerate your learning of the Spring Framework. I'm not going to lie to you. The Spring Framework is a big framework. The environment for enterprise Java is even bigger. If you're new to Java, you have a lot to learn. I hope through the content on this web site I can accelerate your education of the Java and Spring landscape.

icon
More courses by John Thompson

$109.99

$129.99

$84.99

$89.99

$89.99

$69.99

icon
More Java Spring Framework courses

$84.99

$84.99

$94.99

$109.99

$79.99

$129.99

icon
Reviews

4.4

3,100 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Martin Sander on 8/5/2026

Many parts of the course haven't been updated to reflect Spring Boot 4+. That leads to a lot of extra work, which is fine for an experienced developer like me but can be a bit of a pain for someone that is new to the field

By Robert P on 7/2/2026

The scope of the content described by the author is very broad and there was a lot of things I learned. The concepts are described precisely with practical code examples and demos. I strongly recommend this training and I am looking forward to watching other trainings by this tutor.

By Mirova Natacha Salas Rios on 6/29/2026

El curso ofrece una ruta muy completa para comprender el ecosistema de Spring desde los fundamentos hasta conceptos más avanzados. La estructura es progresiva y permite entender bien cómo encajan Spring Core, Spring MVC, Spring Data JPA y Spring Boot dentro de una arquitectura real. Uno de los puntos más valiosos es el enfoque práctico. A través de ejemplos y proyectos, se refuerzan conceptos como inyección de dependencias, configuración de beans, creación de APIs REST y manejo de persistencia con bases de datos. Esto ayuda a consolidar la teoría con implementación real. También destaca la claridad en la explicación de conceptos complejos como el ciclo de vida de los beans, el uso de anotaciones y la configuración automática de Spring Boot, lo cual facilita mucho la curva de aprendizaje. Como mejora, el contenido puede sentirse extenso en algunos módulos si ya se tiene experiencia previa en Spring, pero sigue siendo útil como referencia estructurada. En general, es un curso recomendable tanto para principiantes como para desarrolladores que buscan fortalecer y formalizar su conocimiento en Spring con buenas prácticas y una visión más profesional del framework.

By Paikar-Megaiz Angila on 6/17/2026

The course covers a lot of important and valuable topics, such as Spring Boot, Spring Data, REST, and WebFlux with both relational and NoSQL databases. I found Spring Security especially interesting. However, much like other areas in the course, it often lacked the depth and best practices needed to fully understand and apply the concepts. As a result, I had to supplement my learning with external YouTube tutorials. Another point that caused some confusion was the redundancy; several topics were repeated at least twice. It felt a bit like a compilation of different independent courses mixed together (specifically regarding Microservices, Docker, Compose, and Kubernetes)! I hope the instructor reviews these structural and content depth issues to improve the overall flow and value of the course.

By Joseph Gioino on 4/14/2026

I enjoyed the course very much. Needs a little updating for Spring Boot 4, Spring 7. The main issue I had was getting the Kafka configuration to work. I had to create a KafkaConfig class and create ProducerFactory bean for kafkaTemplate to work. I created a KafkaTemplate bean to use the producerFactory bean. Likewise I had to create a ConsumerFactory bean to be used in a ConcurrentKafkaListernerContainerFactory bean. I also had to create a JacksonConfig to use PagedModel instead of PageImpl for Paged lists. I think adding a section on adding Helm charts to the beer microservices would make this course "complete".

By Michael Kraegeloh on 3/3/2026

Great course but quite often there are problems with deprecated functions being called and stuff not working as its based on too old libraries. I am using VSCode not IntelliJ, so maybe would be easier with IntelliJ. Upgrading to newer spring boot version has proven to be quite difficult in some cases

By Samed Salman on 1/28/2026

Coming from a beginner-intermediate C# and .NET background, I find this course gives a very good introduction to Java and Spring. But after getting through part 10 I find myself missing the rewarding feeling of running an application and seeing it do something, however small or pointless. The early course material places a lot of emphasis on writing and running tests as a way of checking if things work, which is good to practice. You can also use Postman to test your API. But it gets boring after a while, to be honest. For a future iteration I would like the simplest user interface to be included earlier, just to allow students to play around and interact with their little creation. Even a simple consol input/output type of thing would be welcome. All that said, the course is very good. If you want to learn Spring Boot, take it!

By Simone Bonasegale on 1/27/2026

This is an excellent course and one of the most comprehensive on the Udemy platform. However, I’m giving it 4 stars because it doesn’t cover a fundamental aspect of Spring, which is the ability to write native SQL queries using JPQL. This is quite a significant omission for those who aim to become experts in the framework. Additionally, once an interesting project like the Gateway is converted from Maven to Gradle by experimenting with its plugin, the rest of that part of the course should be consistently completed using the chosen build system. Personally, this wasn’t a problem — on the contrary, it became a challenge and an opportunity to further learn the tool I prefer most for building Java projects. However, for others who may not feel the same way, this could represent a noticeable slowdown.

By Glenn on 1/1/2026

I appreciate the breadth of knowledge that the course provides. I would have appreciate some more depth on repositories since in the real world repository looks are not simple and would need more than inferring by the name of the repository method.

By John Gregory on 11/14/2025

i really enjoy john's courses... his teaching style suites my learning style. he makes the content easy to understand and backs it up with decent real world-ish examples. i do really want to open my own brewery, but fear i'd drink away all the profits. moving on to his testing course next

Showing all 10 reviews on CourseDuck

Read all 3,100 reviews on Udemy