Über WAR-Dateien
Web Application Archiv
Das WAR-Format ist eine Dateispezifikation, die in verschiedenen professionellen und privaten Kontexten verwendet wird. Wandle WAR-Dateien online und kostenlos zu anderen kompatiblen Formaten mit dem KaijuConverter um — keine Anmeldung, keine Software-Installation, sicher und privat. Die Verarbeitung erfolgt in der Cloud mit Verschlüsselung während der Übertragung und automatischer Löschung nach zwei Stunden.
Familie
Archives & Compressed
Erweiterung
.war
MIME-Typ
application/java-archive
Kann verwendet werden als
WIE DAS
FORMAT WAR ENTSTAND.
WAR — Web Application Archive — is the JAR variant for Java web applications. When Sun shipped Servlet 2.2 specification in 1999, WAR became the standard deployment unit for Java EE web apps: a ZIP archive containing compiled classes (in /WEB-INF/classes/), libraries (/WEB-INF/lib/), static resources (HTML, CSS, JS at the root), and a /WEB-INF/web.xml deployment descriptor. Drop the .war into a servlet container like Tomcat, Jetty, or GlassFish and the app deploys automatically.
For 20+ years WAR has been the enterprise Java deployment unit. Every Spring MVC app, every JSF/JSP app, every Java REST API hosted on a traditional application server shipped as .war. The newer Spring Boot trend of fat-JARs has partially replaced WAR (Spring Boot bundles an embedded Tomcat and ships as .jar), but WAR remains the dominant deployment format for legacy Java EE and any classical servlet container.
WISSENSWERTES UND
INTERESSANTE FAKTEN.
A .war is literally a ZIP — extract it and browse the exact directory structure that lives inside your Tomcat webapps/ folder.
The /WEB-INF folder inside every WAR is private to the server — clients cannot fetch its files via HTTP.
Spring Boot "embedded Tomcat" fat-JARs replaced many WAR deployments, but WAR remains dominant in enterprise Java EE.
An EAR (Enterprise ARchive) is a further wrapper that bundles multiple WARs and JARs — the enterprise deployment container.
GlassFish, WebSphere, WebLogic, and JBoss EAP all accept .war deployments identically — the format is truly portable.
VORTEILE UND
EINSCHRÄNKUNGEN.
Vorteile
- Standard Java EE deployment unit since 1999.
- ZIP-based — introspectable with any unzip tool.
- Auto-deployment in Tomcat, Jetty, GlassFish, and every Java servlet container.
- Well-defined web.xml deployment descriptor.
- Compatible with any JVM.
Einschränkungen
- Requires a servlet container runtime — heavier than a self-contained fat-JAR.
- Spring Boot fat-JARs reduce WAR's relevance in new projects.
- Not containerized — Docker-era deployment prefers JAR + embedded server.
- File sizes balloon with dependency libraries in /WEB-INF/lib/.
Typische Dateigrößen
Simple Servlet app
500 KB - 5 MB
Typical Spring MVC app with libs
20-100 MB
Large enterprise WAR
200-800 MB
Technische Spezifikationen
- MIME type
- application/java-archive
- Extension
- .war
- Container
- ZIP (JAR format)
- Required descriptor
- WEB-INF/web.xml
- Runtime
- Servlet container (Tomcat, Jetty, GlassFish, etc.)
UMWANDELN VON
WAR
Häufige Anwendungsfälle
Java EE deployment, web server apps
Verwandte Formate
Beliebte Vergleiche
WAR vs ZIP
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
WAR vs 7Z
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
WAR vs TAR
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
WAR vs GZ
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
WAR vs BZ2
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
WAR vs XZ
Unterschiede, Dateigröße und wann jedes Format zu wählen ist.
Beliebte WAR-Umwandlungen
Die meistgesuchten Ziele beim Umwandeln von WAR-Dateien.
Häufig gestellte Fragen zu WAR
Häufig gestellte Fragen
WAR (Web Anwendung Archive) is an archive Format used to bundle multiple Dateien und folders in einem single komprimiert file. The archive preserves the directory structure und typically reduces total size via Komprimierung. WAR sits im archives & komprimiert family und has specific strengths around Komprimierung ratio, speed, oder Plattform support.
7-Zip, WinRAR, The Unarchiver (macOS), und the built-in archive utilities auf Windows und macOS öffnen most WAR files. für command-line extraction, 7z, unar, oder the Format-specific tool handles WAR cleanly. If your extractor does not recognise WAR, umwandeln to ZIP first — ZIP opens on every operating system ohne extra Software.
Upload the WAR to KaijuConverter und pick ZIP, 7Z, TAR.GZ, oder RAR als das target. Our pipeline extracts the original archive und re-compresses the contents in the target Format. Datei permissions, timestamps, und directory structure are preserved where both Formate support them.
Depends auf dem goal. ZIP is the universell baseline — every OS extracts it out des box. Formate like 7Z oder TAR.GZ compress better aber require specific Werkzeuge. WAR may win on Komprimierung ratio, password support, oder OS integration für specific workflows; ZIP wins on raw Kompatibilität.