EAR, WAR, JAR files October 31, 2006
Posted by :) in J2EE.trackback
An EAR file is a standard JAR file with an “.ear” extension, named from Enterprise ARchive file. A J2EE application with all of its modules is delivered in EAR file. JAR files can’t have other JAR files. But EAR and WAR (Web ARchive) files can have JAR files.
An EAR file contains all the JARs and WARs belonging to an application. JAR files contain the classes and WAR files contain the Web components (JSPs, static content (HTML, CSS, GIF etc), Servlets etc.). The J2EE application client’s class files are also stored in a JAR file. EARs, JARs, and WARs all contain an XML-based deployment descriptor.


I know how to create jar files but i don’t kow how to create ear, war files. plz send msg to create ear, war files
I know how to create jar files in java for single application. but i don’t kow how to create ear, war files. plz send msg to create ear, war files and more than one jar files
build.bat file will generate the ear file. When you want to pack the deliverables or install the application we will run Buid.bat file to build an appliccatin. The outcome of this build process will be generated a Ear file which can be deployed in the app server domain