Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

EJB%20Interview%20Questions%20and%20Answers

Question: What is the difference between EAR, JAR and WAR file?
Answer: J2EE defines three types of archives:
  1. Java Archives (JAR): A JAR file encapsulates one or more Java classes, a manifest, and a descriptor. JAR files are the lowest level of archive. JAR files are used in J2EE for packaging EJBs and client-side Java Applications.
  2. Web Archives (WAR): WAR files are similar to JAR files, except that they are specifically for web applications made from Servlets, JSPs, and supporting classes.
  3. Enterprise Archives (EAR): An EAR file contains all of the components that make up a particular J2EE application.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook