Java and Spring Boot run a large share of the world's enterprise and banking backends, and they remain one of the most requested backend skills in hiring. Modern Java is far less verbose than its reputation, with records, pattern matching and virtual threads. This course teaches current Java and Spring Boot together by building a real, tested REST API.

What you'll learn

  • Modern Java for backend work: records, sealed types, pattern matching, var, streams and virtual threads
  • Build tools: Maven and Gradle, dependency management and Spring Initializr
  • How Spring works: dependency injection, beans, configuration and profiles
  • Building REST controllers with request validation and consistent error responses
  • Persistence with Spring Data JPA and Hibernate: entities, relationships, queries and transactions
  • Database migrations with Flyway and connecting to PostgreSQL
  • Securing APIs with Spring Security: password login, JWT resource servers and method-level rules
  • Testing: JUnit 5, Mockito, slice tests and real databases with Testcontainers
  • Observability with Spring Boot Actuator, Micrometer and structured logs
  • Packaging as a container image and configuration for cloud deployment

Who it's for

  • Developers who know another language and want to move into Java backend roles
  • Java developers who learned older Spring and want to catch up with current Spring Boot
  • Computer science students preparing for backend jobs at product and services companies

Prerequisites

  • Programming experience in any language, including classes and objects
  • Basic SQL (see SQL and PostgreSQL Essentials)
  • A current JDK (21 or 25 LTS) and an IDE such as IntelliJ IDEA or VS Code

Outcomes

By the end of this course you will be able to:

  1. Build a secure, validated REST API with Spring Boot and PostgreSQL.
  2. Explain how Spring's dependency injection and auto-configuration work.
  3. Write fast unit tests and realistic integration tests with Testcontainers.
  4. Package and configure the service for container-based deployment.

Course outline

ModuleTopic
1Modern Java refresher for backend developers
2Maven, Gradle and project setup
3Spring fundamentals: beans, injection and configuration
4REST controllers, DTOs and validation
5Error handling and API conventions
6Spring Data JPA, Hibernate and transactions
7Flyway migrations and PostgreSQL
8Spring Security and JWT
9Testing with JUnit, Mockito and Testcontainers
10Actuator, metrics and logging
11Virtual threads, performance and caching
12Project: a containerised, tested REST API

FAQ

Which versions do you teach?

A current long-term-support JDK and the current Spring Boot major release. We mention what changed from older versions you will see in existing projects.

Is Kotlin covered?

No. Everything is in Java, though most Spring concepts carry over directly to Kotlin.

Does it cover microservices?

We build one well-structured service. Microservices Architecture in Practice covers splitting systems into services.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.