> Markdown version of [Deploying Spring Boot Based Applications](https://vaadin.com/docs/v14/flow/production/spring-boot). Section index: [llms.txt](https://vaadin.com/docs/v14/flow/llms.txt)

# Deploying Spring Boot Based Applications

[Spring Boot](https://spring.io/projects/spring-boot) applications are slightly different to tradition Java web applications (or Jakarta EE applications) in that they by default create a JAR file with embedded server in it, rather than traditional WAR file that is deployed on a standalone Servlet container or fully featured Java EE server.

Alternatively, Spring Boot applications can be packaged as WAR files as well. Follow [the instructions in Spring Boot documentation](https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-create-a-deployable-war-file) how to do this.

The main differences between JAR and WAR packaging are as follows:

JAR packaging:

- No need for a server binary install, a Java Runtime is all that is needed.

- Bigger package size.

WAR packaging:

- a separate Java Servlet container needed

- free choice of servers, including Jetty, Tomcat, WildFly, GlassFish, and others

- smaller package size

See [Using Spring Boot Properties](https://vaadin.com/docs/v14/flow/integrations/spring/tutorial-spring-configuration.md#using-spring-boot-properties) for additional details.

You can read more about Spring applications and how to deploy them at the [official Spring website](https://spring.io/).

`F2BE9E20-3F15-4F55-8A5B-9A4BEF737539`
