Solution: WAR vs EAR file

Development | Programming languages
What is the difference between a .war and .ear file?
No attachments
In J2EE application modules are packaged as EAR, JAR and WAR based on  their functionality

JAR: EJB modules which contains enterprise java beans class files and  EJB deployment descriptor are packed as JAR files with .jar extenstion

WAR: Web modules which contains Servlet class files,JSP  FIles,supporting files, GIF and HTML files are packaged as JAR file  with .war (web achive) extension

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

on November 10th, 2018 (12:30 pm)
All coments
This solution has not been commented yet.
You must sign in to comment!! LOGIN
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept