Skip to content

a list of Java 9 module samples to dive into the modular world

Notifications You must be signed in to change notification settings

ozlerhakan/java9-module-examples

Repository files navigation

Java 9 Module Examples

What I have learned from the Resources list is that Module System in Java 9 is an optional decision. Your project could rely on the classpath as before whereas the module system brings several benefits to your applications such as modular thinking, encapsulation, dependency management and services. To this end, in this repository you’ll find several practical Java 9 module examples that could give you some brief ideas. Feel free to open up an issue, if you find any typos or mistakes that I have made.

Modi

Shows how to compile and run an unnamed module.

ModiM

Demonstrates how to compile and run an application module.

ModiMs-exports-requires

Demonstrates how to compile and run multiple application modules using the exports and requires clauses.

ModiMs-provides-uses

Demonstrates how to compile and run multiple application modules using the provides …​ with and uses clauses.

ReT (Requires-Transitive)

Shows the way of handling transitive dependencies on a module system.

Javafx

Shows how to solve the issues while converting a javafx project into an application module.

Reflect

Demostrates how to use the opens clause when using the reflection API in an application module.

Java Platform Module Cheat Sheet

RebelLabs Java 9 modules cheat sheet

OS Projects

About

a list of Java 9 module samples to dive into the modular world

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages