Skip to main content

Posts

Showing posts with the label Deploy jar or war

How to deploy the Spring Boot application ( jar/war ) on the live server?

There are various methods to deploy the Spring Boot application. In the previous page, we have described how to generate builds (jar/war) by Maven/Gradle. In this article, we will describe the built deployment process. So before we begin deploying spring boot applications that are built in either jar or war, we need to understand what are the differences between them, both can be built using any of the built tools Gradle and Maven. Table of Contents What are the differences between jar and war? How to generate builts jar or war in spring boot? Deploying a JAR (Java Archive) as a standalone application Deploying a WAR (Web Application Archive) into a servlet container What are the differences between jar and war? jar (Java ARchive) war ( Web Application Resource) JAR stands for J ava AR chive. WAR   stands for W eb A pplication R esource, also stated W eb application AR chive. It is used to aggregate many Java class files and associated metadata and reso...