Refactoring your code to Java 9 modules

by Rabea Gransberger 

Friday, 09 June 2017 13.30 @ Room 1

Java 9 allows you to split your code into modules and grant access only to certain packages and thus hide even public classes from external use.

Splitting up your code into modules directly communicates the architectural design, simplifies maintenance & reuse and can slow down the increase of technical debt.

In this talk we will have a look at some strategies which help you to split up your existing monolithic code base into several smaller modules. First we need tools to easily identify which parts can be split out. Then we apply some refactoring tricks to make this as easy as possible. Last we look at some more difficult examples and use design patterns to disentangle them.