File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is an EAR file?

 
Med Shabe
Ranch Hand
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My understandig is that EAR contains WAR file(s), which in turn contains Web Application components such as Servlets, JSPs, etc. But What exactly does an EAR do that WAR can't?
Thanks.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You know, the J2EE spec explains all of this. It's a good place to start for these kind of questions.
Anyway, an EAR contains not only WARs but EJB JAR files too. Also, and EAR provides information that unifies the security model and other metadata between the different JARs and EARS that it contains.
Kyle
[ February 23, 2002: Message edited by: Kyle Brown ]
[ February 23, 2002: Message edited by: Kyle Brown ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic