WAR ファイルについて
WAR (Web Application Archive · アーカイブ形式)
Web Application Archive(.war)は、専門的なワークフローやデータ交換・アーカイブで広く利用されているファイル形式です。KaijuConverterで高速に変換できます。
カテゴリ
Archives & Compressed
拡張子
.war
MIMEタイプ
application/java-archive
対応ロール
WAR が誕生した
背景と歴史。
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.
豆知識&
トリビア。
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.
長所と
制限事項。
長所
- 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.
制限・弱点
- 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/.
一般的なファイルサイズ目安
Simple Servlet app
500 KB - 5 MB
Typical Spring MVC app with libs
20-100 MB
Large enterprise WAR
200-800 MB
技術仕様
- MIME type
- application/java-archive
- Extension
- .war
- Container
- ZIP (JAR format)
- Required descriptor
- WEB-INF/web.xml
- Runtime
- Servlet container (Tomcat, Jetty, GlassFish, etc.)
他形式から変換
WAR
主な活用シーン
Java EE deployment, web server apps
関連フォーマット
よく見られている比較
WAR の人気変換ペア
WAR から変換する際によく選ばれている出力形式です。
WAR に関するよくある質問
よくある 質問
KaijuConverterにWARファイルをアップロードするだけで、ソフトをインストールせずにPDF、JPG、PNGなどの標準形式へ即座に変換できます。
はい、25MBまで完全無料(24時間パスやProプランでは最大1GB)で変換でき、アップロードされたファイルは60分後にサーバーから自動削除されます。
Need to Convert Gigabyte Archives or Mass Folders?
KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.
1回限りの支払いで24時間、最大1GBのファイルおよび最大50ファイルの一括変換が利用可能です。
大容量の動画、PDF、ロスレス音声を広告なし・優先キューでブラウザから直接変換。
最大1,024 MBの高速クラウド処理、24時間暗号化保持、優先サポート。
Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.
GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.