Skip to content

Java + Spring Boot Knowledge Base ​

A job-market-oriented Java backend system: from Java basics, through the SQL / MySQL / Maven toolchain, to Spring / Spring Boot in practice and the 3→4 migration. Every chapter is organized around what employers actually ask for.

1. What kind of Java developer does the market want? ​

Java backend is one of the highest-demand roles. Junior-to-mid JDs (1-5 years) are remarkably similar. Here is the jargon translated into plain terms:

What the JD saysWhat it really meansChapter
"Solid Java fundamentals, understand JVM and concurrency"Collection internals (HashMap above all), thread pool parameters, JMM, synchronized/volatile, GC & tuningJava Basics / Java Advanced
"Familiar with MySQL: indexes, transactions, locks"B+ tree, clustered/secondary indexes, leftmost prefix, isolation levels, MVCC, EXPLAIN tuningSQL in Practice / MySQL
"Proficient with MyBatis / MyBatis-Plus"Dynamic SQL, #{} vs ${}, L1/L2 caches, pagination pluginSpring Boot in Action data access section
"Understand Spring IoC and AOP"Three-level cache & circular dependencies, bean lifecycle, transaction failure scenariosSpring Core
"Experience with Spring Boot"Auto-configuration internals, starter mechanism, config system, layered web developmentSpring Boot in Action
"Have used Maven / Gradle"Dependency scopes, conflict resolution, multi-module builds, mirror setupMaven
"Redis / message queues / microservices a plus"Data types, the three cache problems, persistence, HA; registry & discovery, gateway, circuit breaking/limiting, distributed transactions/locks/idempotency, cache consistencyRedis / Microservices / Distributed Topics
"Works well under pressure, team player"Prove it with one complete project on your résumé, not empty wordsProject roadmap below

A reality check for 2026: "Spring Boot 3 to 4", "virtual threads" and "Java 21 features" now show up in a large share of JDs and interviews — legacy systems still run 2.x/3.x while new projects start at 4.x. Being able to explain the version evolution is a differentiator. That is exactly what Spring Boot 3 vs 4 covers.

2. Knowledge map (suggested order) ​

#ChapterContentsPositioning
1Java BasicsSyntax, OOP, collections, generics, exceptions, IO, lambdasFoundation — ~30% of interview questions come from here
2Java AdvancedConcurrency, JVM, reflection, Java 8/17/21 featuresDeep end; separates mid from senior
3SQL from Basics to PracticeDDL/DML/DQL, JOINs, subqueries, window functionsWriting complex queries is a daily requirement
4MySQL Deep DiveArchitecture, index internals, transactions & MVCC, locks, tuningTop-3 interview topic
5Redis CacheData types, penetration/breakdown/avalanche, persistence, replication/Sentinel/ClusterTop-3 interview topic; caching is a daily battleground
6MavenCoordinates, dependencies, lifecycle, multi-module, conflictsToolchain — read any pom.xml afterwards
7Spring CoreIoC/DI, bean lifecycle, AOP, transactionsFramework internals; prerequisite for Boot
8Spring Boot in ActionAuto-config, web dev, MyBatis integration, config system80% of your actual working time
9Spring Boot 3 vs 4Version evolution, breaking changes, migration playbookThe hot 2026 interview topic
10Microservices & Spring CloudNacos, OpenFeign, Gateway, Sentinel, tracingWhere senior architecture questions live
11Distributed Systems Core TopicsDistributed locks/transactions, idempotency, MQ, cache consistency, shardingThe capstone question pool
12Spring AI Application DevelopmentChatClient, tool calling, RAG, MCP, conversation memoryThe new 2026 JD hot spot: Java + AI apps

3. A résumé-worthy project roadmap ​

Before applying, build one project end to end. An e-commerce / content admin system is ideal because it naturally exercises every exam point:

  1. Phase 1 — CRUD backbone: Spring Boot + MyBatis-Plus + MySQL for product/order management APIs. Practice layering, a unified response envelope, validation, global exception handling.
  2. Phase 2 — Concurrency & caching: Load-test, find problems → add Redis caching, async via thread pools, optimistic locking to prevent overselling. Every step maps to a frequent interview question.
  3. Phase 3 — Engineering: Maven multi-module split, logging & monitoring, Docker deployment. All your résumé "highlights" come from the bugs you meet in these phases.

Write résumé bullets as verb + technology + quantified result: "Cached hot product data with Redis, cutting API P99 from 800ms to 45ms" beats "familiar with Redis" by an order of magnitude.

4. Learning resources ​

5. Frequent interview questions (a taste of the difficulty) ​

  • HashMap put flow? Why is it not thread-safe? How does ConcurrentHashMap fix it? → Java Basics / Java Advanced
  • What do the 7 thread pool parameters mean? Which rejection strategy? → Java Advanced
  • Why does InnoDB use a B+ tree instead of a hash index? What is a table lookback? → MySQL
  • How does RR isolation prevent phantom reads? → MySQL
  • How does Spring resolve circular dependencies? Why three caches? → Spring Core
  • When does @Transactional silently fail? → Spring Core
  • How does Spring Boot auto-configuration work? → Spring Boot in Action
  • What breaking changes does Spring Boot 4 bring over 3? → Spring Boot 3 vs 4
  • Limiting vs breaking vs degradation — disambiguate. Why does Nacos config hot-refresh? → Microservices
  • Penetration vs breakdown vs avalanche — tell them apart and prevent each. RDB or AOF? → Redis
  • How does a distributed lock evolve? Cache–DB consistency? → Distributed Topics
  • What is Spring AI's ChatClient/advisor architecture? What changed in 2.0 tool calling? → Spring AI