Skip to content
All paths
Beginner → IntermediateBackend

Backend Java Development

Learn modern Java (17–21), SQL, and Spring Boot to build secure, tested REST APIs, then add caching, messaging and microservice patterns. Ends with a capstone backend you can deploy and show.

What you will be able to do

  • Write clean, modern Java with collections, streams and concurrency
  • Design relational schemas and write efficient SQL
  • Build REST APIs with Spring Boot, JPA, validation and Spring Security
  • Test with JUnit 5, Mockito and Testcontainers
  • Use Redis, Kafka and Docker in a microservice setup

Roadmap

Bar length shows each module's share of study time.

  1. 1

    Core Java

    The language, done well.

    47h8 topics
    Not started
    Show topics
    • Write and run small Java programs comfortably.

      • Install a JDK and run a program
      • Learn primitives, strings and operators
      • Write if, switch and loops
      • Use arrays and methods
      • Solve 10 small console exercises
    • Model a domain with classes and interfaces, and know when to prefer composition.

      • Write classes, fields and constructors
      • Encapsulate state with access modifiers
      • Use interfaces and abstract classes
      • Apply inheritance and polymorphism
      • Prefer composition over inheritance
      • Implement equals, hashCode and toString
    • Write type-safe generic code and handle errors deliberately.

      • Compare checked and unchecked exceptions
      • Close resources with try-with-resources
      • Create custom exception types
      • Write generic classes and methods
      • Use bounded types and wildcards
    • Pick the right List, Set, Map or Queue and know their costs.

      • Compare ArrayList and LinkedList
      • Use HashSet, TreeSet and LinkedHashSet
      • Use HashMap, TreeMap and LinkedHashMap
      • Work with Queue, Deque and PriorityQueue
      • Learn Big-O costs of common operations
    • Transform data with streams instead of manual loops where it reads better.

      • Write lambdas and method references
      • Use map, filter and reduce
      • Group data with Collectors.groupingBy
      • Return Optional instead of null
      • Refactor loops into streams
    • Use Java 17–21 features to write less boilerplate.

      • Replace POJOs with records
      • Model hierarchies with sealed types
      • Use pattern matching for instanceof
      • Write switch expressions with patterns
    • Write thread-safe code and use executors, CompletableFuture and virtual threads.

      • Create threads and runnables
      • Prevent races with synchronized and locks
      • Use atomic and concurrent collections
      • Run tasks with ExecutorService
      • Chain async work with CompletableFuture
      • Try virtual threads in Java 21
    • Explain heap, stack and GC well enough to debug memory issues.

      • Learn heap, stack and metaspace
      • Compare common GC algorithms
      • Read GC logs and heap dumps
      • Diagnose a memory leak with VisualVM
  2. 2

    Build tools & testing

    Professional project setup.

    11h3 topics
    Not started
    Show topics
  3. 3

    Databases & SQL

    Most backend bugs are data bugs.

    16h3 topics
    Not started
    Show topics
  4. 4

    Spring Boot

    The framework most Java backend jobs use.

    48h9 topics
    Not started
    Show topics
  5. 5

    Production backend

    What separates a demo from a real service.

    24h5 topics
    Not started
    Show topics
    • Cache hot reads and choose expiry and invalidation strategies.

      • Run Redis and learn core data types
      • Enable Spring caching with @Cacheable
      • Set TTLs and eviction policies
      • Invalidate caches on writes
    • Produce and consume events and understand partitions and consumer groups.

      • Learn topics, partitions and offsets
      • Run Kafka locally with Docker
      • Produce events with KafkaTemplate
      • Consume events with @KafkaListener
      • Scale with consumer groups
      • Handle retries and dead-letter topics
    • Explain API gateways, service discovery, sagas and circuit breakers.

      • Compare monoliths and microservices
      • Route traffic through an API gateway
      • Use service discovery and config servers
      • Add circuit breakers with Resilience4j
      • Coordinate transactions with sagas
      • Design a small two-service system
    • Containerise a Spring Boot app and run it with its database.

      • Write a multi-stage Dockerfile for Spring Boot
      • Build layered jars for faster builds
      • Run app and database with Compose
    • Expose health checks and metrics.

      • Enable Actuator health and info endpoints
      • Expose metrics with Micrometer
      • Scrape metrics with Prometheus
  6. 6

    Capstone project

    A backend you can deploy and talk through.

    15h1 topics
    Not started
    Show topics
    • Auth, JPA, tests, Redis cache, Docker and a CI pipeline in one repo.

      • Design the domain and REST endpoints
      • Implement JPA entities and Flyway migrations
      • Secure the API with JWT and roles
      • Add Redis caching for hot reads
      • Write unit and Testcontainers tests
      • Dockerise it and add a CI pipeline