Labels

Wednesday, May 30, 2012

difference between WAR,JAR and EAR

WAR:-The war file is a zipped version of a web application which contains all jsp's, class files,Javascripts,css's images, deployment descriptor to run the web application for the server. A Java based web server is need to run the war file.
JAR:-The jar file contains the class files in zipped form and acts as a library and is usually supplied as third party libraries. But in case J2EE, a jar file can also contain the EJB class files.

EAR:-The ear file refers to Enterprise Application and contains reference to jar file containing the EJB classes, war file path and a descriptor named as application.xml


No comments:

Post a Comment