From Java Tips: Difference between ear jar and war files:
These files are simply zipped files using the java jar tool. These files are created for different purposes. Here is the description of these files:
- .jar files: The .jar files contain libraries, resources and accessories files like property files.
Official Sun/Oracle descriptions: