Refactoring your code to Java 9 modules

 /  EN /

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 and 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. Firstly, we need tools to easily identify which parts can be split out. Then we apply some refactoring tricks to make it as easy as possible. Finally, we look at some more difficult examples and use design patterns to disentangle them.

Rabea Gransberger
Rabea Gransberger

Studied computer science and got a diploma in 2008. Co-leading the software development department and working as a software engineer on various projects at MEKOS. The main focus is on keeping the code base clean and educating the team on how to write a better code. A well-known speaker at Java conferences and user groups around the world. Started the Java user group Bremen in 2012 and is a part of the organisation team ever since. Besides software development likes to watch Werder football games in the local Weserstadion.

Most of the time is writing Java software based on Eclipse RCP. Rabea configures Continuous Integration servers and tries to automate the deployments as much as possible. Sometimes she also does Javascript, C#, VBA or other languages she needs to complete her current task.

Наши контакты