Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Spring Boot 4, Spring 7 & Hibernate for Beginners
Bestseller
Highest Rated
Rating: 4.6 out of 5(94,503 ratings)
454,708 students
Created byChad Darby
Last updated 5/2026
English

What you'll learn

  • NEW FOR SPRING BOOT 4, SPRING 7 and IntelliJ (free version)
  • You will TYPE IN EVERY LINE of code with me in the videos. I EXPLAIN every line of code to help you learn!
  • LEARN key Spring Boot 4 features: Core, Annotations, Java Config, Spring REST, Spring MVC, AOP, Hibernate/JPA and Maven
  • I am a RESPONSIVE INSTRUCTOR ... post your questions and I will RESPOND in 24 hours.
  • POPULAR VIDEOS for: Spring Boot 4, Spring Boot REST APIs, Spring Boot Security, Spring Data JPA, Spring Data REST, OpenAPI, Swagger and Thymeleaf
  • Join an ACTIVE COMMUNITY of 440,000+ students that are already enrolled! Over 92,000+ Reviews - 5 STARS
  • Develop code using MODERN development tools: IntelliJ (free version) and Maven
  • You can DOWNLOAD all source code and PDFs. Perfect for offline LEARNING and REVIEW.
  • Students have LANDED NEW JOBS with the skills from this course. Spring Boot and Hibernate developers are in HIGH-DEMAND!

Course content

14 sections419 lectures35h 28m total length
  • Introduction1:19

    Learn to build Java applications with Spring Boot and Hibernate, develop a REST API and a Spring MVC app, and connect to databases for CRUD with Maven and Java configuration.

  • How To Take This Course and How To Get Help1:15
  • Downloading the Source Code, PDFs and Course Links1:01
  • Java Development Environment Checkpoint2:13

    Verify your Java development environment by installing JDK 17 or higher and a Java IDE, preferably IntelliJ community edition, and run a Hello World app to prepare for Spring Boot.

  • Spring Boot Overview7:18

    Discover how Spring Boot simplifies Spring development with auto configuration and an embedded server, enabling standalone jars or traditional war deployments.

  • Spring Boot Initialzr Demo9:47

    Demonstrates using the spring initializer at start.spring.io to generate a maven web project with an embedded tomcat, then import the project into your IDE and rely on Maven for dependencies.

  • Spring Boot - Create a REST Controller5:05

    Create a simple rest controller in Spring Boot that exposes a / endpoint returning 'Hello World', then run the app to see the response.

  • Spring Projects1:56

    Discover spring projects as optional add-ons to the core framework, including Spring Cloud, Spring Data, Spring Batch, Spring Security, Spring Web Services, and Spring LDAP; explore them on spring.io.

  • What is Maven?4:57

    Learn how Maven manages build and dependencies for Spring Boot, using start.spring.io to generate Maven projects, and handling the pom.xml, Maven Central repository, local repository, and starters.

  • Maven Project Structure4:19

    Explore the standard Maven directory structure: src/main/java, resources, webapp, src/test, and target, and understand how pom.xml configures the project.

  • Maven Key Concepts6:55

    Discover Maven key concepts by examining the POM file, project metadata, dependencies, and plugins. Learn how group id, artifact id, and version form coordinates to fetch dependencies from Maven Central.

  • Exploring Spring Boot Project Files - Part 15:08

    Explore the Spring Boot project structure, including source/main/java and resources, and the Maven wrapper, then see how the POM uses starters and the Spring Boot plugin to package and run.

  • Exploring Spring Boot Project Files - Part 24:49

    Configure spring boot by editing application.properties in src/main/resources, adding coach.name and team.name, read them in a rest controller with @Value, and load static resources and templates from their directories.

  • Spring Boot Starters6:30

    Discover how Spring Boot starters provide a curated set of Maven dependencies, offering a one-stop solution for web, security, and data features with compatible versions.

  • Spring Boot Parents for Starters2:49

    Learn how the spring boot starter parent provides maven defaults, java version control, and utf eight encoding, while enabling dependency inheritance and easy plugin setup.

  • Spring Boot Dev Tools - Overview2:32

    Enable automatic restarts for Spring Boot apps by adding the spring-boot-devtools dependency to your pom.xml, and configure IntelliJ community edition to build projects automatically.

  • Spring Boot Dev Tools - Coding10:50

    Enable Spring Boot dev tools for automatic reloading and configure IntelliJ, then add the devtools dependency in pom.xml to support live updates and expose /workout and /fortune endpoints.

  • Spring Boot Actuator - Overview6:36

    Discover how Spring Boot Actuator exposes ready-to-use endpoints for health, info, and metrics, enabling monitoring and management with no extra code.

  • Spring Boot Actuator - Accessing Endpoints - Part 17:30

    Learn to enable Spring Boot actuator endpoints, expose health and info, configure via application.properties, and verify /actuator/health and /actuator/info in a running Spring Boot project.

  • Spring Boot Actuator - Accessing Endpoints - Part 26:06

    Explore Spring Boot actuator endpoints such as /info, beans, thread dump, and mappings, and learn to expose endpoints and read formatted JSON for debugging.

  • Spring Boot Actuator - Securing Endpoints - Overview3:24

    Secure spring boot actuator endpoints with spring security, using spring-boot-starter-security; login prompts for /beans with a generated password, customize credentials in application.properties, and exclude /health and /info.

  • Spring Boot Actuator - Securing Endpoints - Coding7:59

    Secure Spring Boot actuator endpoints by adding Spring Security, using the default user and generated password shown in logs, and excluding health and info endpoints.

  • Run Spring Boot apps from the Command Line - Overview4:11

    Run Spring Boot apps from the command line by packaging as a self-contained jar and launching with java -jar or mvnw spring-boot:run, without an IDE.

  • Run Spring Boot apps from the Command Line - Prep3:19

    Delete actuator and security dependencies from the pom.xml, then prepare to run Spring Boot apps from the command line, with OS-specific steps covered in separate videos.

  • Run Spring Boot apps from the Command Line - Microsoft Windows7:32

    Learn to run a Spring Boot app from the command line on Windows, package with mvnw, run the jar or use spring-boot:run, and verify endpoints like /, /workout, and /fortune.

  • Run Spring Boot apps from the Command Line - macOS / Linux5:19

    Learn to run spring boot apps from the command line on macOS or Linux, packaging with mvnw, and running via java -jar or the spring boot maven plugin.

  • Injecting Custom Application Properties - Overview3:16

    Define custom properties in the application.properties file and inject them into a Spring Boot app using the @Value annotation, pulling coach.name and team.name into a rest controller.

  • Injecting Custom Application Properties - Coding7:36

    Learn how to define custom properties in Spring Boot using application.properties, inject them with @Value, and expose them via a simple /teaminfo endpoint returning coach name and team name.

  • Configuring the Spring Boot Server - Overview6:18

    Configure Spring Boot using the application.properties file, learning web, security, data, and actuator properties. Set server port, context path, logging levels, actuator endpoints, and data sources to tailor your app.

  • Configuring the Spring Boot Server - Coding4:48

    Configure the Spring Boot server port to 7070 and set the application context path to /mycoolapp, then restart and verify teaminfo, workout, and fortune endpoints under the prefixed URL.

Requirements

  • Basic Java knowledge is required
  • Basic HTML knowledge is helpful

Description

UPDATED FOR SPRING BOOT 4 AND SPRING 7

POPULAR IDE - IntelliJ (free version)


#1 BEST SELLING SPRING BOOT & HIBERNATE COURSE ON UDEMY - 440,000+ STUDENTS ENROLLED

THIS COURSE HAS THE #1 STUDENT ENROLLMENT OF ANY SPRING BOOT COURSE ON UDEMY!

OVER 92,000 REVIEWS - 5 STARS!


THIS COURSE COVERS SPRING BOOT 4 AND SPRING 7

LEARN these HOT TOPICS in Spring Boot 4 and Spring 7:

  • Spring Boot 4

  • Spring Framework 7

  • Spring Boot 4 REST API

  • Spring Boot 4 Core

  • Spring Boot 4 Annotations

  • Spring Boot 4 Java Configuration (all Java, no xml)

  • Spring Boot 4 and Spring MVC

  • Spring Boot 4 Hibernate/JPA CRUD

  • Spring Boot 4 Security

  • Spring Boot OpenAPI and Swagger

  • Maven


REAL-TIME PROJECTS

  • Spring Boot 4 REST API (with full database CRUD real-time project)

  • Spring Boot 4 REST API + OpenAPI and Swagger (with full database CRUD real-time project)

  • Spring Boot 4 REST API Security (with password encryption in the database)

  • Spring Boot 4 with JPA and Spring Data JPA (with full database CRUD real-time project)

  • Spring Boot 4 with Spring Data REST (with full database CRUD real-time project)

  • Spring Boot 4 with Spring MVC, Thymeleaf (with full database CRUD real-time project)

  • Spring Boot 4 Spring MVC Security (with password encryption in the database)



COURSE UPDATES

Updated course to SPRING BOOT 4 and SPRING 7


This course covers the LATEST VERSIONS of Spring Boot 4, Spring 7 and Hibernate 7!

Build a complete Spring Boot REST API + Hibernate/JPA CRUD app ... all from scratch! (real-time project)

You will learn about: Spring Boot Core, Spring Boot MVC, Spring Boot Security, Spring Boot REST API, Spring Data JPA, Spring Data REST, Thymeleaf, AOP and Hibernate/JPA ... all connected to a MySQL database


By the end of this course, you will create all of the source code for a complete Spring Boot REST APIs for a full CRUD REST API real-time project.

You will also develop a Spring Boot MVC - Hibernate/JPA CRUD real-time project.


You will type in every line of code with me in the videos ... all from scratch.

I explain every line of code that we create. So this isn't a copy/paste exercise, you will have a full understanding of the code.


I am a RESPONSIVE INSTRUCTOR . Post your questions and I will RESPOND in 24 hours.


Join 440,000+ students that are already enrolled!

Over 92,000+ Reviews! (the most reviews for any Spring Boot & Hibernate course on Udemy, 3x the nearest competitor)


=

Sample of the reviews:

Best Spring Boot course by far across all learning platforms for me. Best course structure and instructor always demonstrates in depth knowledge by covering the necessary basics. Really really incredible good presentation and structure, a lot of other instructors can learn a lot from you Chad. - Muzi P.


I worked in some company, so I can say that this course is 100% industry oriented. The best course for learning Spring Framework. Getting replies within 24 hours. - Premang


I'm adding to my review following Chad's recent updates to his course to cover Spring Boot, JPA, etc. After finishing the course originally, I found another Spring Boot class, and after working on this other class, I appreciate more what Chad has done here. He's made Spring Boot for CRUD applications with Thymeleaf very easy to follow and learn. I've taken half a dozen other software courses, and while other instructors might be good, Chad is the gold standard here. I can't recommend him highly enough. - Dave Zeltserman


This is the best tutorial I've seen so far for Spring/Hibernate, each step is well explained and the tutorial videos are made to a high standard. I highly recommend this course! - Rob


Hats off to you Chad, the best Spring fundamentals course I have done on Udemy thus far. You never disappoint. - Morebodi Modise


Chad is an excellent natural teacher. His course is well organized. He makes difficult concepts very easy to understand. - Julie Hodgson


=

Live Coding - I code all of the real-time projects from scratch

All source code is available for download

Responsive Instructor - All questions answered within 24 hours


=

PDFs of all lectures are available for download

Closed-Captions / Subtitles available for English and other languages (new!)

Professional video and audio recordings (check the free previews)


=

What Is Spring Boot?

Spring Boot is the modern development approach for building enterprise application. Spring Boot minimizes the configuration required for setting up Spring projects. By using Spring Boot, you can accelerate your development speed and leverage the auto-configuration features. This course covers the latest version of Spring Boot 4.


What Is Spring?

Spring is an enterprise Java framework. It was designed to simplify Jakarta EE development and make developers more productive. Spring makes use of Inversion of Control and Dependency Injection to promote good software coding practices and speed up development time. This course covers the latest version of Spring 7.

This course covers Spring Core, Annotations, All Java Spring Configuration, Spring AOP, Spring MVC, Spring Security, Spring REST, Spring Boot and Spring Data JPA.


What Is Hibernate/JPA?

Hibernate/JPA is an Object-to-Relational-Mapping (ORM) framework. It simplifies database access for Java applications. By using the framework, you can easily store and retrieve Java objects by setting up some simple configuration mappings.

This course covers basic Hibernate/JPA CRUD. Also, advanced Hibernate/JPA mappings are covered for one-to-one, one-to-many and many-to-many.


Benefits of Taking This Spring Boot and Hibernate Course

Knowing Spring Boot and Hibernate can get you a job or improve the one you have. It's a skill that will put you more in demand in the enterprise Java industry, and make your software life easier, that's why it's so popular.

Nearly every job posting asks for skills in Spring Boot and Hibernate!

This course will help you quickly get up to speed with Spring Boot and Hibernate. I will demystify the technology and help you understand the essential concepts to build a real Spring Boot and Hibernate application from scratch.


You Will Learn How To

  • Spring Boot

    • What is Spring Boot?

    • Creating a Project with Spring Boot Initializr

    • Develop a REST API Controller with Spring Boot

    • Explore the Spring Boot Project Structure

    • Leverage Spring Boot Starters - A Curated List of Dependencies

    • Inherit Defaults with Spring Boot Starter Parents

    • Automatically Restart with Spring Boot Dev Tools

    • Add DevOps functionality with Spring Boot Actuator Endpoints

    • Secure Spring Boot Actuator Endpoints

    • Run Spring Boot apps from the Command-Line

    • Use the Spring Boot Maven Plugin to package and run Spring Boot apps

    • Inject custom application properties into a Spring Boot REST Controller

  • Maven

    • Simplify your build process with Maven

    • Create Maven POM files and add dependencies

    • Run Maven builds from the IDE

    • Use Maven during the development of Real-Time Projects for Spring Boot MVC, Spring Boot Security, Spring Boot REST API and Hibernate/JPA

  • Spring Core

    • Build a complete Spring MVC and Hibernate/JPA CRUD Project ... all from scratch

    • Set up your Spring Boot and Hibernate/JPA

    • Wire beans together in the Spring container using Inversion of Control

    • Configure the Spring container for Dependency Injection

    • Define Spring Beans using the Component annotation

    • Perform auto-scanning of Spring beans to minimize configuration

    • Automatically wire beans together using Autowired annotation

    • Apply all Java configuration to Spring Beans (no xml)


  • Spring REST APIs

    • Overview of REST APIs

    • Investigating Spring Boot REST support

    • Sending JSON data over HTTP

    • JSON Data Binding with the Jackson project

    • Converting JSON data to Java POJO with Jackson

    • Developing a Spring Boot REST API

    • Setting up a Spring Boot REST project with Maven

    • Creating the Spring Boot REST Controller using RestController

    • Running the Spring Boot REST Controller with the IDE

    • Testing Spring Boot REST Web Services with Postman

    • Parameterize Spring Boot REST API endpoints using PathVariable

    • Add Spring Boot REST exception handling with ExceptionHandler

    • Integrate global Spring Boot REST exception handling with ControllerAdvice

    • Leverage ResponseEntity for fine-grained control of Spring Boot REST HTTP response

    • Build Spring Boot REST API to execute CRUD actions on the Database with Hibernate/JPA

    • Create a Real-Time Project using Spring Boot REST API with full database CRUD


  • Spring REST API CRUD

    • Develop a REST API Controller with Spring Boot with full CRUD support

    • Configure Spring Boot Data Source for MySQL Database

    • Create DAO implementations using JPA Entity Manager

    • Apply Best Practices by integrating a Service Layer

    • Expose REST API endpoints in Controller code (GET, POST, PUT and DELETE)

    • Access the REST API using Postman


  • Spring Boot and Spring Data JPA

    • Minimize boilerplate code with Spring Data JPA and the JpaRepository

    • Refactor existing REST API to integrate with Spring Data JPA

    • Leverage new features of the the Java Optional pattern with JpaRepository

    • Test the Spring Data JPA repository with Postman


  • Spring Boot and Spring Data REST

    • Accelerate your development process with Spring Data REST

    • Leverage Spring Data REST to eliminate custom code for controllers and service

    • Automatically expose REST endpoints for your JPA Repositories

    • Customize REST base path endpoints

    • Apply pagination and sorting to REST API endpoints

    • Configure default page sizes for REST APIs

    • Investigate HATEOAS compliant REST responses

    • Test Spring Data REST with Postman


  • Spring Security

    • Secure your REST APIs and web applications with Spring Boot Security

    • Set up your Maven pom.xml file with Spring Boot Security starter

    • Configure Spring Boot Security with all Java configuration (no xml)

    • Create custom Spring Boot Security login pages with Bootstrap CSS

    • Add logout support using default features of Spring Boot Security

    • Leverage Spring Boot Security support for Cross Site Request Forgery (CSRF)

    • Define users and roles for authentication

    • Display user login info and role using Spring Boot Security tags

    • Restrict access to URLs based on user role

    • Hide and Display content based on user role

    • Add JDBC authentication, store user accounts and passwords in the database

    • Store encrypted passwords in the database using bcrypt

    • Register new users and encrypt passwords using Java code

    • Create a Spring Security Real-Time Project using authorization, authentication and database encryption


  • Spring MVC

    • Set up your Spring Boot MVC environment with configs and directories

    • Create controllers using Controller annotation

    • Read HTML form data using RequestParam

    • Leverage Spring Boot MVC model to transport data between controller and view page

    • Define Request Mappings for GET and POST requests

    • Minimize coding with Spring Boot MVC Form data binding

    • Leverage Thymeleaf expressions to access data from the Spring Boot MVC Model

    • Apply CSS stylesheets to your Thymeleaf templates

  • Spring MVC Validation

    • Create a Spring MVC Validation project using the Spring Initializr website

    • Apply validation rules for required fields, number ranges and regular expressions

    • Leverage the InitBinder and StringTrimmerEditor to trim white spaces

    • Configure error messages using the messages properties file

    • Develop a custom validation rule using annotations

  • Spring Boot and Thymeleaf

    • Develop view templates with Thymeleaf in Spring Boot projects

    • Examine the auto-configuration of Thymeleaf in Spring Boot projects

    • Create a Spring Boot project with Thymeleaf using the Spring Initializer website

    • Develop a Spring Boot MVC Controller and a Thymeleaf template

  • Spring Boot, Thymeleaf and Database CRUD

    • Develop a real-time project with Thymeleaf and Spring Boot with full database CRUD support

    • Integrate the Repository to execute CRUD actions on the Database with Spring Data JPA

    • Apply best practices with the Service layer design pattern

    • Create a Controller to handle web browser requests

    • Develop Thymeleaf templates to render database results

    • Beautify your Thymeleaf templates with Bootstrap CSS

  • AOP: Aspect Oriented Programming

    • Set up a Spring Boot project for AOP

    • Apply AOP concepts: Aspects, advices and pointcut expressions

    • Add logging messages using the Before advice

    • Define pointcut expressions to match on parameters, return types and packages

    • Create reusable pointcut expressions

    • Combine pointcut expressions using logical operators

    • Control the execution order of aspects using Order

    • Access method execution metadata using JoinPoints

    • Leverage JoinPoints to read method arguments

    • Apply an AfterReturning advice to post-process the data

    • Integrate AfterThrowing advice to access exceptions

    • Develop an AOP Advice using Around to pre-process and post-process method calls

    • Integrate AOP into a Spring MVC CRUD app


Compared to other Spring Boot/Hibernate courses

This course is fully up to date and covers the latest versions of Spring Boot 4, Spring 7 and Hibernate 7. The course also includes new content on Spring Boot 4, Spring Data JPA, Spring Data REST and Thymeleaf.

Beware of other Udemy Spring/Hibernate courses. Most of them are outdated and use old versions of Spring and Hibernate. Don’t waste your time or money on learning outdated technology.

Also, I create all of the code from scratch in this course. Beware of other courses, those instructors simply copy/paste from their github repo or they use pre-written code. Their approach is not ideal for real-time learning.

Take my course where I show you how to create all of the code from scratch. You can type the code along with me in the videos, which is the best way to learn.

I am a very responsive instructor and I am available to answer your questions and help you work through any problems.

Finally, all source code is provided with the course along with setup instructions.


Student Reviews Prove This Course's Worth

Those who have reviewed the course have pointed out that the instruction is clear and easy to follow, as well as thorough and highly informative.

Many students had also taken other Spring Boot and Hibernate courses in the past, only to find that this Spring Boot and Hibernate course was their favorite. They enjoyed the structure of the content and the high quality audio/video.


Sample of the Student Reviews:

Best Spring Boot course by far across all learning platforms for me. Best course structure and instructor always demonstrates in depth knowledge by covering the necessary basics. Really really incredible good presentation and structure, a lot of other instructors can learn a lot from you Chad. - Muzi P.


I worked in some company, so I can say that this course is 100% industry oriented. The best course for learning Spring Framework. Getting replies within 24 hours. - Premang


Chad Darby has done a superb job organizing this course, and has made Spring Framework, MVC, AOP, Hibernate, Security easy to learn and use. I have a bs and ms in CS, have been developing software for 25 years, and have taken many courses over the years at the different companies I've been at and Chad is easily the best instructor I've had. - Dave Zeltserman


This is the best tutorial I've seen so far for Spring/Hibernate, each step is well explained and the tutorial videos are made to a high standard. I highly recommend this course! - Rob


Hats off to you Chad, the best Spring fundamentals course I have done on Udemy thus far. You never disappoint. - Morebodi Modise


Chad is an excellent natural teacher. His course is well organized. He makes difficult concepts very easy to understand. - Julie Hodgson


Quality Material

You will receive a quality course, with solid technical material and excellent audio and video production.

My courses have received rave 5 star reviews and over 900,000 students have taken the courses. Also, these courses are the most popular courses in their respective categories.

Similar thing for this Spring Boot course, it is ranked as #1 best seller for Spring courses.

I also have an active YouTube channel where I post regular videos. In the past year, I’ve created over 300 video tutorials (public and private). My YouTube channel has over 6.8 million views and 40k subscribers. So I understand what works and what doesn’t work for creating video tutorials.


No Risk – Udemy Refund

Finally, there is no risk. You can preview 25% of the course for free. Once you purchase the course, if for some reason you are not happy with the course, Udemy offers a 30-day refund (based on Udemy's Refund Policy).

So you have nothing to lose, sign up for this course and learn how to build Spring Boot and Hibernate Real-Time Projects from scratch!


Target Audience

  • Java Developers with basic Java experience

Who this course is for:

  • The course is appropriate for all Java developers: beginners to advanced