Skip to content

Compare the implementation encapsulation capabilities when using google guice and glassfish hk2 with java modules.

License

Notifications You must be signed in to change notification settings

akabanov57/easytext-hk2

Repository files navigation

Project "easytext.hk2".

See the original project easytext-guice

Purpose of the project.

Compare the implementation encapsulation capabilities when using google guice and glassfish hk2 with java modules.

Project class diagram.

class diagram

Result.

When using google guice and java modules we have encapsulation at the java modules level, when using glassfish hk2 and java modules we have encapsulation at the java modules and java package levels.

How to compile.

  • JDK 17 required.
  • cd easytext-hk2
  • mvn clean package -P cli
  • or mvn clean package -P gui

Distributions can be found in the easytext.hk2.cli.target and easytext.hk2.gui.target directories.

See also.

  1. Liskov substitution principle
  2. Dependency inversion principle
  3. SOLID
  4. Java 9 Modularity

About

Compare the implementation encapsulation capabilities when using google guice and glassfish hk2 with java modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published