Re:Time to look beyond Oracle's JDK
by jirkapinkas on Sunday September 09, 2018 @04:35AM
(#17944972)
Except on server. JRE on server will still be a thing (at least in forseeable future).
https://blogs.oracle.com/java-platform-group/understanding-t...
Nothing prevents you to deploy everything together.
We have done it multiple times.
Re:Time to look beyond Oracle's JDK
by jasonparallel on Sunday September 09, 2018 @03:37AM
(#17944819)
Happen to have a good link to read about it?
"jlink"
https://docs.oracle.com/javase/10/tools/jlink.htm#JSWOR- GUID-CECAC52B-CFEE-46CB-8166-F17A8E9280E9
"Self-Contained Application Packaging"
https://docs.oracle.com/javase/10/deploy/self-contained-appl...
"JLINK in Java-9"
https://blog.knoldus.com/jlink-in-java-9/
"Using Java 9 Modularization to Ship Zero-Dependency Native Apps"
https://steveperkins.com/using-java-9-modularization-to-ship...
Re:Time to look beyond Oracle's JDK
by jirkapinkas on Sunday September 09, 2018 @04:37AM
(#17944981)
Unfortunately it will take several years until you will be able to modularize server Java application. Right now the ecosystem just isn’t ready.
Nothing prevents you to deploy everything together.
We have done it multiple times.
Re:Time to look beyond Oracle's JDK
by jirkapinkas on Sunday September 09, 2018 @05:47AM
(#17945160)
How do you solve issue that in order to use jlink every dependency must have explicit module name? Also do you use Spring Boot with modules? (Last time I tried to make it work I failed miserably, but it was a long time ago ...).
Thanks to Java modules, jlinker and packager tool, the idea is that you just distribute everything together.