• Post Reply Bookmark Topic Watch Topic
  • New Topic

between .ear file and .war file  RSS feed

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is difference between .ear file and .war file? Can there be a WAR + EAR file?If yes what is the scenario?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A WAR file contains web modules, whereas an EAR file contains a full enterprise application. It may include a WAR file too. (about EAR)
 
nans nav
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
War file contains servlets and JSP, but not EJB. If your application make use of EJB, it has to be bundled as EAR file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!