Differences Between War and Ear | Weblogic Interview Questions

Question: Differences Between War and Ear?

Answer: In J2EE, application modules are packaged as EAR, JAR,

and WAR based on their functionality. (Differences Between War and Ear)

Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc


Web modules which contain Servlet class files, JSP Files, supporting files, GIF and HTML files are packaged as a JAR file with .war( web archive) extension

War files (files with a .war extension) are intended to contain complete Web applications. (Company)In this context, a Web application is defined as a single group of files, classes, resources, .jar files that can be packaged and accessed as one servlet context.


All the above files(.jar and .war) are packaged as a JAR files with .ear ( enterprise archive) extension and deployed into Application Server.

Ear files (files with a .ear extension) are intended to contain complete enterprise applications. In this context, an enterprise application is defined as a collection of .jar files, resources, classes, and multiple Web application. 

Note: Browse latest  Weblogic interview questions and  Weblogic tutorial. Here you can check  Weblogic Training details and  Weblogic training videos for self learning. Contact +91 988 502 2027 for more information.

All Weblogic Interview Questions

Weblogic Videos

Duration: 20-25 Hours | Version: 12c, 11g | Admin
  • Experienced Faculty
  • Real-time Scenarios
  • Free Bundle Access
  • Course Future Updates
  • Sample CV/Resume
  • Interview Q&A
  • Complimentary Materials