Monday, April 12, 2010

JAR WAR and EAR Files

JAR Files (Java Archive):

  1. These files are with the .jar extension.
  2. The .jar files contain the classes, libraries, resources and accessories files like property files.

WAR Files (Web Archive):

  1. These files are with the .war extension.
  2. The war file contains JSP, html, JavaScript and other files for necessary for the development of web applications.
  3. The war file contains the web application that can be deployed on the any servlet/jsp container.

EAR Files:

  1. These files are with the .ear extension.
  2. The .ear file contains the EJB modules of the applications.
  3. The ear file contains the ejb application that can be deployed on the any application server with ejb container.


 

No comments:

Post a Comment