Java Modules in Real Life

Advice on why, when, when not, and how to use Java modules in real life for your projects

Close-up of a sculpture consisting of abstract metal pieces, which are partially rusted.

Many Java projects (by some counts, over half) run on Java versions that support the module system and Maven Central offers over 3.300 modules. If you think about creating modules for your (next) project, you may have some questions:

  • Why use modules?
  • What are common or tricky roadblocks?
  • Partial modularization
  • When (not) to use modules?
  • Where's the exit?!

In this talk, I'll answer these questions, so you can better decide whether modules are right for your project.


Here's the current version of the slides.

I also embedded them below. If they're focussed, you can navigate with arrow keys or swipes (they're two-dimensional, with chapters on the horizontal axis and chapter content layed out vertically). Use Page Up/Down for linearized order and ? for more shortcuts.