1:1 mock interviews with Sumit, scored on a real hiring rubric.Book a slot →
Java backend interview resource · Spring Boot
Java backend interviews, topic by topic. Core Java to Spring Boot microservices.
Java backend interview topics in reading order: core Java and OOP, collections, Java 8+ and modern Java, multithreading, the JVM, Spring Boot, JPA and Hibernate, Spring Security and microservices. Every topic has key terms, a step-by-step explanation, code, practice and the interview questions that follow.
8 parts44 topics0 read by youFree · progress saved in this browser
JDK, JRE and JVM, the four OOP pillars, String immutability and the string pool, equals and hashCode, exceptions, and static, final, abstract classes and interfaces.
01JDK vs JRE vs JVM and How Java Runs
02OOP in Java: Encapsulation, Inheritance, Polymorphism, Abstraction
03String Immutability, the String Pool and StringBuilder
The collections hierarchy, how HashMap works inside, ArrayList vs LinkedList, ConcurrentHashMap, Comparable vs Comparator, and fail-fast vs fail-safe iterators.
Threads and their lifecycle, synchronized, volatile and the Java Memory Model, ExecutorService and thread pools, CompletableFuture, locks, atomics and deadlocks.
01Threads, Runnable vs Callable and the Thread Lifecycle
02synchronized, volatile and the Java Memory Model
JVM memory areas (heap, stack, metaspace), garbage collection and collectors like G1 and ZGC, class loaders, memory leaks and diagnosing production problems.
01JVM Memory: Heap, Stack and Metaspace
02Garbage Collection and Collectors (G1, ZGC)
03Class Loaders and Class Loading
04Diagnosing High CPU, Memory Leaks and Slow Java Services
IoC and dependency injection, bean scopes and lifecycle, auto-configuration, REST controllers with validation, global exception handling, configuration and profiles, and AOP.
The entity lifecycle and persistence context, relationships with lazy and eager loading, the N+1 problem, @Transactional propagation and isolation, and Spring Data repositories.
01JPA and Hibernate: Entities and the Persistence Context
02Relationships, Lazy vs Eager Loading and LazyInitializationException
03The N+1 Query Problem in JPA and How to Fix It
04@Transactional: Propagation, Isolation and Rollback Rules
The Spring Security filter chain, JWT resource servers, microservice patterns with Spring Cloud, resilience with circuit breakers, Kafka with Spring, and testing Spring Boot apps.
01How Spring Security Works: The Filter Chain
02JWT Authentication in Spring Boot
03Microservices Patterns with Spring Boot and Spring Cloud
04Resilience: Timeouts, Retries and Circuit Breakers