The module system delivered in Java 9 is a great advancement for the Java language, and we would like to migrate existing code to make use of the module system. Migrating an existing code base from the classpath to any kind of module system can be a challenging task.
The Java module system comes with a number of features to ease migration. This includes automatic modules and the unnamed module. While these features provide great value, they do require understanding of the module system to use them to their full potential.
In this talk we look at examples of migrating real code, based on a Spring/Hibernate application. We’ll face common problems we run into during migration, which gives us practical tips to apply, but also a good understanding of the module framework itself and the various migration features it supports. This talk is an excellent preparation to start migrating your own code.