Why Spring Boot by default packaging web applications as **.jar** ? Are there any advantages over .war ?

Shouldn't be all web applications packed as .war in order to be deployed to real web server ?

I thought that .jar files are for desktop applications whereas .war files are for web applications. since .jar doesn't contain web application components as mentioned here:

[Java war vs. jar - what is the difference?](https://stackoverflow.com/questions/5871053/java-war-vs-jar-what-is-the-difference)