These files are simply zipped files using java jar tool. These files are created for different purposes. Here is the description of these files:
.jar files: These files are with the .jar extension. The .jar files contain the libraries, resources and accessories files like property files.
.war files: These files are with the .war extension. The war file contains the web application that can be deployed on the any servlet/jsp container. The .war file contains jsp, html, javascript and other files for necessary for the development of web applications.
.ear files: The .ear file contains the EJB modules of the applications.
Blogged with the Flock Browser
JAR:
ReplyDeleteEJB modules which contains enterprise java beans class files and EJB deployment descriptor are packed as JAR files with .jar extenstion. While,
WAR
Web modules which contains Servlet class files,JSP FIles,supporting files, GIF and HTML files are packaged as JAR file with .war( web achive) extension.
sporternährung