12, 10 chapters
tools and ecosystem
everything.tooling
tools and ecosystem
the JDK's own tools, modules, build tools, testing, and the libraries everyone uses.
- 12.01the jdk toolboxjavac, jar, javap, jdeps, jcmd, jdb. what's in bin/ and why.
- 12.02modulesmodule-info.java, requires, exports, opens. strong encapsulation.
- 12.03classpath to module pathunnamed modules, automatic modules, and migrating for real.
- 12.04jar, jlink, jpackagefrom a jar to a tiny custom runtime to a native installer.
- 12.05maventhe pom, the lifecycle, and how dependency conflicts get resolved.
- 12.06gradletasks, the task graph, and the kotlin dsl.
- 12.07testing with junitjunit 6, assertions, parameterized tests, mocks and testcontainers.
- 12.08code quality toolserror prone, spotbugs, nullaway and jspecify.
- 12.09javadocdoc comments, @snippet, and markdown docs.
- 12.10the ecosystem mapspring, quarkus, micronaut, jakarta ee, kotlin. who does what.