English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-09-06 18:13:28 · 7 answers · asked by satish s 1 in Computers & Internet Programming & Design

7 answers

WAR explodes into the jars that are its components

joeschmo
www.baajaa.com

2006-09-06 18:28:37 · answer #1 · answered by Anonymous · 1 0

Jar means java archive files. It is very much similar to zip file. There is no difference in zip file and jar file. The need of the jar file is we can open the jar file in any platform. We can open the jar file in any platform. but we can't open the zip file in some platforms. That's why java people introduced jar files.

War file is especially for web applications. This file is used to deploy the webapplication in webserver.

2006-09-06 23:15:38 · answer #2 · answered by VisweswaraRao 1 · 2 0

war files (web application archive) are jar (java archive) files
war file is an extension of a jar file.
a jar file has a lot of components and a war file is not.
war file has a specific purpose.

2006-09-06 18:23:57 · answer #3 · answered by поцелуй 4 · 1 0

there are several difference
jar files - java archive files everything related to java classes.zip format of java class files

war files - web archive files everything related to a web applications ie html,supporting files,images including jar files in the library folder

2006-09-07 05:59:54 · answer #4 · answered by mukund 1 · 0 0

jar files - java archive files everything related to java classes.zip format of java class files

war files - web archive files everything related to a web applications, includes source files,html,jsp,supporting files,images including jar files in the library folder

2006-09-06 18:22:02 · answer #5 · answered by kanna 3 · 1 0

jar files usually will java class files and maybe some config files.. acts like a include library.. files referenceable by your application if the file is in the classpath..

war files usually contains a web application ..i.e a servlet with jsp files, classes and stuff..

2006-09-06 19:54:07 · answer #6 · answered by manishrustagi_2001 2 · 1 0

jar is java archive files . all java classes bundled in a jar file.
There is manifest.xml which specifies the main class.
war is web archive and is deployed in web server. web-xml is there which does the same thing as manifest.

2006-09-06 18:35:02 · answer #7 · answered by K Ban 2 · 1 0

fedest.com, questions and answers