Java 9 introduces a new module system. It’s optional, but using it offers many benefits. What does it take to migrate existing code to make use of the new module system? Migrating an existing codebase from the classpath to any kind of module system can be a challenging task. Even if you don’t intend to use modules yet, running your application on the Java 9 classpath can reveal new issues. In this session you’ll see how to address these as well.
Java 9 comes with several features for easing migration, including automatic modules and the unnamed module. This session looks at examples of migrating real code, based on a Spring/Hibernate application. It addresses common problems you run into during migration, leading to practical tips as well as a good understanding of the module system itself and its migration features. The session is excellent preparation for starting to migrate your own code.