As Docker is a very hot tech currently, but I just wonder if it is necessary for Java? I list my reasons below, and any feedback is welcomed:
- JVM just like a VM, which separate application from OS
- Maven, manage dependencies
- Spring Boot, support embed J2EE servelet containers like tomcat, all applications can be output as standard JAR file.
So, except you need to install JDK yourself, everything else is consistent and organized. I compare Java and Docker like below:
- JAR -> Image
- JVM -> VM
So, Docker really mean something for Java?