Skip to content

Promathia/java-modules-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java 9 modules example

We have a Client module which uses Service module and requires Entity module as well. In its turn Service module uses Repository module.

Client <- Service <- Repository

To start the app- run MainClient class from Client module

The crucial point of this example refers to service discovery and ServiceLoader as we export interface but to work we need an implementation which is from 'impl' package and therefore not exported

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages