Modules, Builds and Dependencies
- Build tools. Maven or Gradle build the project: dependencies resolved, tests run, artifacts produced repeatably.
- Dependency conflicts. Two libraries wanting different versions collide: the build tool’s dependency tree is where you referee.
- Modules. The module system declares what a jar exports: boundaries the compiler and JVM both enforce.
Logging, Configuration and Reliability
- Structured logging. Production logs are structured events with levels and context: searchable when it matters most.
- Externalised config. Configuration lives outside the jar: environment and files: so one artifact serves every stage.
- Health and shutdown. Services expose health endpoints and shut down gracefully: finish in-flight work, then exit.
Production Application Design
- Stateless services. Stateless service instances scale by copy: state belongs in databases and caches, not in fields.
- Backpressure. Bounded queues and pools give a service backpressure: refusing politely beats collapsing heroically.
- Observability. Metrics, traces and logs: observability: turn production behaviour from anecdote into data.
Before and after this level
- Before: Level 14: Performance: Profiling, Memory and Concurrency Performance, JVM Tuning Fundamentals.
- Next: Level 16: Java Mastery: Advanced JVM Behaviour, Large-System Design, Reading and Improving Complex Java.
In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.
Frequently asked questions
What does Java Level 15: Production Java cover?
Modules, Builds and Dependencies, Logging, Configuration and Reliability, Production Application Design: 3 lessons and 9 ideas.
What should I know before this level?
The level before it, Level 14: Performance, which covers Profiling, Memory and Concurrency Performance, JVM Tuning Fundamentals.