About jar and war file
1 posts in topic
Flat View  Flat View

Posted By:   A_JP
Posted On:   Friday, December 21, 2001 12:24 PM

Hi !
This is my understanding,
A jar file is a java archive file, which bundles java classes(utility) with some static files like images or videos for easy accessibility.

A war file is a web application archive which bundles JSP/Servlet classes, html, images and videos.

My question is, can jar have only java classes and not JSP files or html files. But war file can also have jsp files and html files, is that the prime difference between jar and war files.


Re: About jar and war file

Posted By:   Anonymous  
Posted On:   Saturday, December 22, 2001 02:22 PM

Yes, more or less this is the difference. A war file is just a jar file containing a complete web application.
About | Sitemap | Contact