3 ms·
Related to [1], I thought modern Java deployment style is to bundle the required modules of the JDK with your app, rather than any concept of a "deployed JDK".
by simiones 4y ago
Related to [1], I thought modern Java deployment style is to bundle the required modules of the JDK with your app, rather than any concept of a "deployed JDK".
As it is, the difficulty of deploying a JDK + your app is much more than a single static binary, Go-style.
- 5e92cb50239222b 4y agoIt depends on your requirements and environment. With most things I am working on the commands to deploy both look exactly the same: $ rsync -a foo server:/opt/foo $ rsync -a bar server:/opt/bar Can you guess which one is a static binary written in Go, and which one is a directory with a slimmed down JRE produced by jlink + an application jar? For those using containers, there's no practical difference between the two.