title: Differences between jar and war in Spring Boot?
body: <p>I'm about to build my first website in Java with Spring Framework using Spring Boot and it's much easier to build it in <code>jar</code>, but I have a few questions about it.</p>
  
  <p>What are the differences in general? </p>
  
  <p>In <code>jar</code> files the views are under <code>/resources/templates</code>, but in <code>war</code> file it's under <code>/webapp/WEB-INF/</code>.</p>
  
  <p>What are the differences? Can I deploy a <code>jar</code> on an online host?</p>