Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jigsaw Layers Example

Very short example on using Jigsaw Layers (used in presentation).

The example contains four commits:

  1. jigsaw.layers.Example module added that collects Java conferences via JavaConfProvider service interface
  2. GeeCON Prague provider added
  3. GeeCON Krakow provider added
  4. Jigsaw layer created that loads geecon.prague.provider module into a separate layer

How to build and run

You need JDK 10+ to run this example.

  1. Open the project in the IntelliJ IDEA (CE is enough).

  2. Build Project

  3. Create a run configuration:

    • Choose jigsaw.layers.example.JavaConfCollector as the main class
    • Use Jigsaw-Layers-Example as the classpath nodule
    • Use out/production/geecon.prague.provider as Program arguments
    • Use the root project directory as Working directory
  4. Run. You should get the following:

Hello from GeeCON Prague!
Hello from GeeCON Krakow!

About

Very short example on using Jigsaw Layers (used in presentations).

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages