Arguably the most visible and most controversial new feature of Java 9 is the Java Module System Jigsaw. Despite the fact that the module system allows strong encapsulation and addresses a core need of any reasonably complex system, it was heavily debated before, during and after its release. What’s often forgotten though are the practical advantages of modules.
In this session, we will see, how the improved encapsulation nicely complements dependency injection frameworks like Google Guice. After all, Guice modules and Java modules must have more in common than their name, mustn’t they? Let’s see, how the architecture of a system can benefit from their commonalities and which idioms may evolve around Jigsaw and DI.