• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

.ear .war files

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi there,
can anyone tell me what exactly is the difference between an .ear, .jar and a .war file. i have a good idea about the ,jar file but dont know what exactly is contained in a .ear file. anyone has any idea? any worth while link will also do nicely.
cheers,
ali.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An .ear file is an enterprise archive file and is associated with application assembly.
http://java.sun.com/j2ee/j2ee-1_4-pfd-spec.pdf
(search for .ear)
To quote:
"The Application Assembler takes a set of components developed by Application
Component Providers and assembles them into a complete J2EE application
delivered in the form of an Enterprise Archive (.ear) file. The Application
Assembler will generally use GUI tools provided by either a Platform Provider or
Tool Provider. The Application Assembler is responsible for providing assembly
instructions describing external dependencies of the application that the Deployer
must resolve in the deployment process."
A .war files is a web archive file.
This is used for deployment, e.g. you create a war file into which you place your jsp, servlets, beans, images, etc.
You then deploy that to tomcat/jrun/websphere and they create an application from that war
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This does not belong in Web Services. I'm moving this to J2EE/EJB topic.
Kyle
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic