Benefits of JPMS / Project Jigsaw for Small Applications / Libraries

I understand the benefits of the Java Platform Module System (JPMS) for large applications, but is there any reason to make a small library or application in a (single) module? If so, is Modular Jar Files the best way to achieve this, or your preferred normal approach?

Going forward, will there be performance implications for modular vpath classpath programs?

+4
source share
3 answers

Immediate performance implications include the following:

  • jlink, : . , Swing, Corba .., . ( ).
  • ; , ( ).

, , , , .

:

  • JDK 9, AOT, ( Linux x64) java.base . , Java. , . ( , )
+7

, jar ?

, " " - JAR - " " .

[I] - () ?

, :

, , .:)

, vpath classpath?

, : , , , . , , .

+3

http://www.javaworld.com/article/2878952/java-platform/modularity-in-java-9.html

JAR ?

JAR , . JAR , , .jar. JAR Java. , JAR, .

, JAR - , . , Spring OSGi, JAR . JAR JAR !

Classpath/JAR hell

Java JAR , , JAR . .

, Java- JAR , . Java JAR. JAR, classpath. .

JAR- , . , , , , .

Java- , . . , . , , .

Java

, , . :

: , . - , , .

:. , , ..

:. , , .

0

Source: https://habr.com/ru/post/1683591/


All Articles