• 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

what's war files

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
what's war files and where is it used actually
Thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WAR stands for Web Application Resource as I recall. In Sun's vision of web applications, an entire web application can be packaged in a WAR file. You place the war file in the webapps directory of a servlet engine such as Tomcat and restart the engine. Automatically the engine discovers that there is a war file which does not have a matching directory structure under webapps and unpacks the whole thing. Bang! you are now running the new application. It actually works.
Bill
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by William Brogden:
WAR stands for Web Application Resource as I recall.


Close -- "Web Application Archive"
-- The Servlet spec gives it this definition:
A single file that contains all of the components of a web application. This archive file is created by using standard JAR tools which allow any or all of the web components to be signed.
A Web Application itself is:
-- A collection of servlets, JSP pages, HTML documents and other web resources which might include images, files, compressed archives, and other data. A web application may be packaged into an archive or exist in an open directory structure.
Check out this tutorial from the HP Application Server documentation for more info --> Chapter 4, Developing Web Components
reply
    Bookmark Topic Watch Topic
  • New Topic