Contains all code examples from the Java 9 Modularity book, organized by chapter.
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit bc2aa39 Feb 16, 2018
Permalink
Failed to load latest commit information.
chapter10 Added a readme and run script to all examples Sep 5, 2017
chapter11 Fix indentations Feb 11, 2018
chapter12 Added a readme and run script to all examples Sep 5, 2017
chapter2
chapter3
chapter4
chapter5
chapter6 Fix indentations Feb 11, 2018
chapter7 Added a readme and run script to all examples Sep 5, 2017
chapter8
chapter9 Fix indentations Feb 11, 2018
.gitignore initial push of examples Sep 4, 2017
README.md Update README.md Nov 9, 2017
java9modularity-flat-cover.png

README.md

Java 9 Modularity cover

This repository contains all the example code from the Java 9 Modularity book. The examples are grouped by chapter in the book:

  1. Modules and Modular JDK
  2. Working with Modules
  3. Services
  4. Modularity Patterns
  5. Advanced Modularity Patterns
  6. Migration Without Modules
  7. Migration to Modules
  8. Migration Case Study: Spring and Hibernate
  9. Library Migration
  10. Build Tools and IDEs
  11. Testing Modules

Most examples contain a run.sh file to compile and run the example. The scripts are tested on Mac OS and Linux. Windows users can use the Linux Subsystem for Windows, or use Cygwin to run the scripts. Some examples demonstrate errors, which means that compiling or running them may fail on purpose. A README is available in each example directory to explain the example.