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.
- 147h8 topics
Core Java
The language, done well.
Show topicsNot startedWrite 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
- 211h3 topics
Build tools & testing
Professional project setup.
Show topicsNot startedManage dependencies, plugins and multi-module builds.
- Learn the Maven lifecycle and pom.xml
- Manage dependencies and scopes
- Write a Gradle build script
- Split a project into modules
Write clear, fast unit tests.
- Write tests with @Test and assertions
- Use lifecycle annotations
- Write parameterized tests
- Name and structure tests clearly
Isolate units with mocks and verify interactions.
- Create mocks with @Mock and @InjectMocks
- Stub calls with when and thenReturn
- Verify interactions and capture arguments
- Know when not to mock
- 316h3 topics
Databases & SQL
Most backend bugs are data bugs.
Show topicsNot startedAnswer real questions from a schema with SQL.
- Write SELECT queries with filters and sorting
- Combine tables with inner and outer joins
- Aggregate with GROUP BY and HAVING
- Use subqueries and CTEs
- Rank rows with window functions
- Practise 20 queries on a sample schema
Design tables and indexes and read an EXPLAIN plan.
- Model entities and relationships
- Normalise tables to 3NF
- Add primary, foreign and unique keys
- Create indexes for common queries
- Read an EXPLAIN plan
Understand what JPA does under the hood.
- Connect and query with JDBC
- Use PreparedStatement against SQL injection
- Configure a HikariCP connection pool
- 448h9 topics
Spring Boot
The framework most Java backend jobs use.
Show topicsNot startedExplain how Spring wires beans and manages their lifecycle.
- Learn IoC and the application context
- Define beans with @Component and @Bean
- Use constructor injection
- Understand bean scopes and lifecycle
Configure an app for dev, test and prod.
- Create a project with Spring Initializr
- Learn starters and auto-configuration
- Configure with application.yml
- Set up dev, test and prod profiles
Design and build a REST API with proper status codes and DTOs.
- Design resource URLs and HTTP methods
- Build controllers with @RestController
- Map entities to DTOs
- Return correct status codes
- Add pagination and sorting
- Build a CRUD API end to end
Validate input and return consistent error responses.
- Validate DTOs with Bean Validation annotations
- Handle errors with @ControllerAdvice
- Return a consistent error response body
Map entities and relations and avoid N+1 queries.
- Map entities with @Entity and @Id
- Define one-to-many and many-to-many relations
- Write repository and derived queries
- Use JPQL and native queries
- Compare lazy and eager loading
- Fix N+1 queries with fetch joins
Use @Transactional correctly and version your schema.
- Use @Transactional and propagation
- Understand rollback rules
- Version the schema with Flyway migrations
Secure endpoints with authentication and role-based access.
- Learn the security filter chain
- Configure authentication with a user store
- Hash passwords with BCrypt
- Issue and validate JWTs
- Add role-based access to endpoints
Write slice and integration tests against a real database.
- Test controllers with @WebMvcTest
- Test repositories with @DataJpaTest
- Write @SpringBootTest integration tests
- Run Postgres with Testcontainers
- Test secured endpoints
Generate interactive API docs.
- Add springdoc-openapi to the project
- Annotate endpoints and schemas
- Explore the API in Swagger UI
- 524h5 topics
Production backend
What separates a demo from a real service.
Show topicsNot startedCache 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
- 615h1 topics
Capstone project
A backend you can deploy and talk through.
Show topicsNot startedAuth, 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