Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7195409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:34:26+00:00 2026-05-28T20:34:26+00:00

I understand the structural difference between a JAR and a WAR file, as is

  • 0

I understand the structural difference between a JAR and a WAR file, as is answered beautifully on this page.

To me, it seems like WAR was just an archive type that was made retroactively to make it clear that the particular distributable is a web application, and not just an application.

My question: I’m curious to know why someone can’t just take all the contents that would normally be placed in a WAR, and package & deploy them as a JAR instead? It just seems that WAR is an un-ncessary/non-mandatory file type.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:34:26+00:00Added an answer on May 28, 2026 at 8:34 pm

    It’s not even a filetype, it’s just an filename extension + content structure.

    I guess there are some tools that expect *.war file and if you give them *.jar they don’t know that to do with it.

    I’d bet most web app containers instead of unpacking the archive just look at the extension to decide if/how the app has to be deployed. Saves some time and cpu cycles.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setup: I was trying to understand the difference between identifying and non-identifying relationships when
Possible Duplicate: Difference between a Structure and a Union in C I could understand
It seems I don't understand something simple about Protocol Buffers, but this is very
I don't understand what is structurally different between a Value Object and a Class
What are some fundamental Feature/Architectural difference between the BEAM and JVM? Yes I know:
Can anyone tell me the difference between a simple database and a data warehouse
For example, after click the 1st cell of of the table on this page
I understand how NHibernate separates the persistent db structure from the logic and how
The question is simple: I cannot understand the Zipper data structure. My question is
I don't understand, how FP compilers make the code dealing with immutable data structures

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.