Diff Between Jar War And Ear Files
Basically JAR WAR EAR are compressed files of Java compressed at DOS prompt with jar tool (jar command). They are used for different purposes. A) JAR File (Java ARchive) JAR file is like winzip file compressed with JDK software. The problem of popular winzip file is it should be unzipped on Windows OS only. Winzip is platform-dependent. A winzip file cannot be opened or unzipped from Linux.
For that matter, all zipping algorithms are platform-dependent. The interesting point with JAR file is it can be zipped and unzipped by JVM irrespective of OS. That is, wherever Java is working, the JAR file can be created or unzipped.
Web Archives (WAR) WAR files are similar to JAR files, except that they are specifically for web applications made from Servlets, JSPs, and supporting classes. Janome 6019 Инструкция Backwards 3. on this page. Enterprise Archives (EAR) ”An EAR file contains all of the components that make up a particular J2EE application.