| Author |
diff.between jar,war and zip file
|
kapil bhate
Greenhorn
Joined: Mar 04, 2004
Posts: 15
|
|
hi can anybody explain me the difference between Jar file, War file and Zip file.please reply thanks in advance
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56183
|
|
Welcome to the Ranch "kapil java"! You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks! bear JSP Forum Bartender
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Nicholas Cheung
Ranch Hand
Joined: Nov 07, 2003
Posts: 4982
|
|
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)
|
 |
 |
|
|
subject: diff.between jar,war and zip file
|
|
|