Re:Modules vs Microservices
by empthought on Sunday March 26, 2017 @03:49PM
(#13962799)
Java packages are namespaces for code. Java modules are deployable bundles of code. The units of deployment (JAR, WAR, EAR files) pre-Java 9 do not have a consistent model of specifying dependencies and exports needed at runtime.
In other word, packages help the compiler, but give no information to the runtime or deployment as far as how, when, and from where to deploy or load code.
In other word, packages help the compiler, but give no information to the runtime or deployment as far as how, when, and from where to deploy or load code.