Pages

Difference among Jar,War,Ear

Difference among Jar,War and Ear ?

Jar (Java Archive):
  • Jar contains a group of .class files. (usually compiled java code)
JAR File
JAR File
War (Web Archive):
  • War represent a single web application.
  • War contains JSPs,Servlets,HTML files,css files,xml files etc.,.
WAR file
WAR file

Ear (Enterprise Archive):
  • Ear file represent a single enterprise application.
  • Ear file contains anything from J2EE like WAR,RAR,EJB-JAR,JAR,EJBs,JMS etc.,.
ear file
EAR File
Please comment below to feedback or ask questions.

No comments:

Post a Comment

Please comment below to feedback or ask questions.