View RSS Feed

J2EE

What are ear, war and jar files

Rate this Entry
by , 01-01-2012 at 03:34 PM (2382 Views)
ear, jar and war are standard application deployment archive files. As they are considered standard therefore any kind of application server is well aware that how to deploy or unpack them.

An EAR file (standard JAR file) has an “.ear” extension, which is also known as Enterprise Archive file. J2EE application along with its modules is delivered into EAR file. Other JAR files couldn’t be present in JAR files. However, WAR and EAR files possess JAR files. An EAR file has all WARs and JARs that belong to the application. JAR Files consists of WAP files and EJB classes.

WAR files consist of web components like Servlets, JSPs and static components (CSS, HTML, and GIF etc). The J2EE application class files of client are also present in JAR files. JARs, EARs and WARs consist of XML based deployment descriptors.

Name:  5.JPG
Views: 742
Size:  52.2 KB

J2EE Deployment Structure

Submit "What are ear, war and jar files" to Facebook Submit "What are ear, war and jar files" to Digg Submit "What are ear, war and jar files" to del.icio.us Submit "What are ear, war and jar files" to StumbleUpon Submit "What are ear, war and jar files" to Google

Updated 01-15-2012 at 07:32 AM by J2EE

Tags: ear, jar, war Add / Edit Tags
Categories
EAR , WAR

Comments