Migrating to Java 9 modules

 /  EN /

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.


Sander Mak
Luminis Technologies

Sander is a Fellow at Luminis in the Netherlands, where he crafts modular and scalable software, most often on the JVM, but with a touch of TypeScript when needed. He is the author of the O'Reilly book "Java 9 Modularity" (https://javamodularity.com) and an avid conference speaker. Sander loves sharing knowledge through his blog at http://branchandbound.net, and also as a Pluralsight instructor (https://bit.ly/sander-ps).

Contacts