Jump to content

Deploying: JAR, WAR, Exploded WAR

Hi P
Go to solution Solved by Eigenvektor,

Technically all of them are just ZIP files with a different file extension. Here's a bit more info though: https://stackoverflow.com/a/5871102

 

Jar = Java Archive

War = Web Archive

 

There's no real pros and cons.

I mainly work in Exploded WAR (due to its updating ease), but I deploy the WAR to Tomcat, yesterday I was learning Spring Boot and by default it uses whats called "Fat Jars" which is pretty much a JAR that contains everything including (by default) Tomcat, so its everything in a single JAR file.

 

I'm having a hard time understanding the difference, pros and cons of each, because I barely understand these "server" topics, for me those three do the same thing :(

 

Any opinion is welcome, please and thank you!

Link to comment
Share on other sites

Link to post
Share on other sites

Technically all of them are just ZIP files with a different file extension. Here's a bit more info though: https://stackoverflow.com/a/5871102

 

Jar = Java Archive

War = Web Archive

 

There's no real pros and cons.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×