• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Beginner Question: How to work with war files?

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i just stumbled upon a cool program which i would like to use. https://sourceforge.net/projects/openanonymizer/
The download contains a WAR file. Actually i do not really have a lot of experience with WAR files, or better said no experience at all. I read that WAR files are associated with java especially with tomcat.
So do i really have to set up tomcat for using this WAR file. If so, are there some beginner user guides how to work with tomcat and how to get a WAR file to work with tomcat?
Would appreciate every help.
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

A WAR (Web application ARchive) file is a .JAR file with .war extension and is used to distribute a collection of JSPs, Servlets, Java classes, XML files, tag libraries and static Web pages (HTML and related files) that together constitute a Web application.

So a war file is simply a collection of the above said resources that constitute a web application. A web application needs to be deployed on some kind of server, so that the users can use the application. The most common server used is the Apache Tomcat.

If you want to run the web application, you need to set up Tomcat.

You can download Tomcat from here and then use this to deploy and run the war file.

Hope this helps.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!