hi , i think you know what a jar file is . A war file is a web application file and a ear file is a enterprise archive file. you should use that, when you are deploying e.g a webservice .There you must deploy a Ear file '(contains a jar file and a war file) and usually all the other files are automatically deployed. Hope this helps
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
a Jar (java archive) file is set of java classes ,property files packaged together that is usually a library or a standart program. a war (web archive ) file is a set of file that represent a web application. You can find in it the structure of a web application. So you can find jsp,html,gif,.........and servlet classes as well as the descriptor. the last one is a J2EE application archive with jar file for EJB and a war file for the web application ------------------ Benjamin l�onard www.evisor.com
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: What is the difference between war, jar & ear