hi can anybody explain me the difference between Jar file, War file and Zip file.
JAR file is
Java Archive, which is a compress format of Java Classes. Basically, it seems using the same format of ZIP, as you can use WinZip to unzip JAR files. However, I think if I give you a ZIP file, you may not notice that it is a Java Archive, and thus, the naming convention comes.
WAR file is another thing, although WAR file is created by the JAR utility, and is expectde to be ZIP format, the difference is, when you put a WAR file at the document root of the Application Server, it KNOWS the WAR file is a Web Application, and it will load it dynamcally. But if the file extention is NOT WAR, say JAR, the container will not load the application.
Hope this help.
Nick.
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)