GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 29 of 104    Print  
what is difference between War file and Ear file?

  
Total Answers and Comments: 6 Last Update: August 12, 2006     Asked by: srinu 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 20, 2006 05:54:21   #1  
rasik patel        

RE: what is difference between War file and Ear file?
war file is web application files only.ear file is complete j2ee application file that contain all (.jar war client)
 
Is this answer useful? Yes | No
April 25, 2006 23:49:59   #2  
meetnaveen4u        

RE: what is difference between War file and Ear file?

hi

War - This is Web Application archive which contains basic web application like servlet jsp html. This can be run on simple tomcat server.

EAR - This is enterprise application which can have many War and EJB and other j2ee components into it and this can be run on weblogic websphere.. and other server which supports enterprise application.

Thanks

Naveen.


 
Is this answer useful? Yes | No
May 03, 2006 21:36:09   #3  
Saurabh Raisinghaney        

RE: what is difference between War file and Ear file?
An ear file consists of application.xml as its deployment descriptor and it consists of war jar and par files
 
Is this answer useful? Yes | No
May 22, 2006 12:50:59   #4  
srinivas        

RE: what is difference between War file and Ear file?

hi

A J2EE application is packaged as a portable deployment unit called an enterprise archive (EAR) file. An EAR file is standard JAR file with a .ear extension. An EAR file contains:

  • One or more J2EE modules
  • A J2EE application deployment descriptor

Unlike other deployment unit types a WAR file usually cannot be loaded by a classloader because its internal directory structure differs from that of a loadable JAR file. Like other module types a WAR file may be deployed independently as a Web application or packaged in an EAR file and deployed as a J2EE application.

ok bye..............

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in


 
Is this answer useful? Yes | No
July 24, 2006 15:20:20   #5  
srinivasaraobora Member Since: May 2006   Contribution: 31    

RE: what is difference between War file and Ear file?

hi

A J2EE application is packaged as a portable deployment unit called an enterprise archive (EAR) file. An EAR file is standard JAR file with a .ear extension. An EAR file contains:

  • One or more J2EE modules
  • A J2EE application deployment descriptor

Unlike other deployment unit types a WAR file usually cannot be loaded by a classloader because its internal directory structure differs from that of a loadable JAR file. Like other module types a WAR file may be deployed independently as a Web application or packaged in an EAR file and deployed as a J2EE application.

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

HELP EVER HURT NEVER & IMPOSSIBLE AS POSSIBLE

Note:If any one want java materials like e-books faq's send a mail to my id.if any doubts regarding java send a mail to my id if possible i will send answers.if any one want how to install java softwares tomcat weblogic eclipse jbuilder etc and how to use plz send amil or ask online also i will definitly tell.


 
Is this answer useful? Yes | No
August 12, 2006 03:17:50   #6  
srinivasaraobora Member Since: May 2006   Contribution: 31    

RE: what is difference between War file and Ear file?

hi

A J2EE application is packaged as a portable deployment unit called an enterprise archive (EAR) file. An EAR file is standard JAR file with a .ear extension. An EAR file contains:

  • One or more J2EE modules
  • A J2EE application deployment descriptor

Unlike other deployment unit types a WAR file usually cannot be loaded by a classloader because its internal directory structure differs from that of a loadable JAR file. Like other module types a WAR file may be deployed independently as a Web application or packaged in an EAR file and deployed as a J2EE application.

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

HELP EVER HURT NEVER & IMPOSSIBLE AS POSSIBLE

Note:If any one want java materials like e-books faq's send a mail to my id.if any doubts regarding java send a mail to my id if possible i will send answers.if any one want how to install java softwares tomcat weblogic eclipse jbuilder etc and how to use plz send amil or ask online also i will definitly tell.

clickon:http://in.geocities.com/bora_srinivasarao/MyHomepage.html

For java Click on it:http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/DEA2eIX.html


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape