Este contenido no está disponible en el idioma seleccionado.

Chapter 2. Deployment Options


The following Spring Boot deployment options are supported in Fuse:

2.1. Standalone deployment

In standalone deployment mode, a Spring Boot application is packaged as a Jar file and runs directly inside the Java Virtual Machine (JVM). That is, the Spring Boot application can be run directly using the java command with the -jar option — for example:

java -jar SpringBootApplication.jar
Copy to Clipboard Toggle word wrap

Where Spring Boot provides the main class for the executable Jar. This approach to packaging and running the application is consistent with the microservices philosophy, where a service is packaged with the minimum set of requirements. The container is also minimal, being just the JVM itself.

The following elements are required for building a Spring Boot standalone application in Fuse:

  • The Fuse Bill of Materials (BOM) — defines a carefully curated set of dependencies from the Red Hat Maven repository. The BOM exploits Maven’s dependency management mechanism to define the appropriate versions of Maven dependencies.

    Note

    Only dependencies defined in the Fuse BOM are supported by Red hat.

  • The Spring Boot Maven Plug-In — implements the build process for a standalone Spring Boot application in Maven. This plug-in is responsible for packaging your Spring Boot application as an executable Jar file.

2.2. OpenShift deployment

In OpenShift deployment mode, a Spring Boot application is packaged as an OpenShift application and then uploaded to an OpenShift cluster, where it runs in one or more pods. This mode of deployment has the advantage of being highly scalable, exploiting the on-premises cloud provided by the OpenShift Container Platform (OCP) product.

For more details about the OpenShift mode of deployment, see the "Fuse Integration Services" guide.

The following elements are required for building a Spring Boot application for OpenShift in Fuse:

  • The Fuse Bill of Materials (BOM) — only dependencies defined in the Fuse BOM are supported by Red hat.
  • The Spring Boot Maven plug-in — builds the Spring Boot executable Jar file, which is an intermediate step in the process of building an application for OpenShift.
  • The Fabric8 Maven plug-in — automates the entire process of building, packaging, and deploying an application to OpenShift.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat