Now that Java 9 is out of the door, the much-awaited modularity feature is now available to be adopted by developers. At some point or the other, you will be involved in migrating your application to Java 9 and, hence, trying to modularize it. A change of such magnitude, which involves third-party libraries and rethinking of the code structure, would require proper planning and implementation. The Java team has suggested two migration approaches:
- Bottom-up migration
- Top-down migration
Before going into learning about bottom-up migration, it's important to understand what unnamed module and automatic module are. Suppose you are accessing a type not available in any of the modules; in such a case, the module system will ...