Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Extending support to Spring Boot for Red Hat OpenShift Application Runtimes

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

November 26, 2018
James Falkner
Related topics:
JavaKubernetesSpring Boot
Related products:
Red Hat support for Spring BootRed Hat OpenShift Container Platform

    What Red Hat is providing

    Red Hat OpenShift Application Runtimes (RHOAR) is a recommended set of products, tools, and components for developing and maintaining cloud-native applications on the Red Hat OpenShift platform. As part of this offering, Red Hat is extending its support to Spring Boot and related frameworks for building modern, production-grade, Java-based cloud-native applications.

    Spring Boot lets you create opinionated Spring-based standalone applications. The Spring Boot runtime also integrates with the OpenShift platform, allowing your services to externalize their configuration, implement health checks, provide resiliency and failover, and much more. To learn more about how Spring Boot applications integrate with the wider Red Hat portfolio, check out the following OpenShift Commons Briefing by Thomas Qvarnstrom:

    Versioning

    Red Hat is initially supporting Spring Boot 1.5.17 on Red Hat OpenShift. Support for Spring Boot 2.1 is planned for early 2019. Spring Boot 2.1 adds additional features and frameworks, but many Spring Boot 1.5.x applications remain in production today, so supporting both is critical for our existing customers and wider development communities.

    Support details

    The Spring ecosystem contains many popular frameworks for building various application types. When used with RHOAR, support from Red Hat is limited to those frameworks primarily targeting modern cloud-native microservice applications, along with frameworks originating from upstream open source communities that Red Hat actively participates in or leads. The list on this documentation page shows exactly what is included, and it will be updated for 1.5.17 in the coming weeks. Red Hat customers can also refer to the Spring Boot support page on the customer portal for additional detail.

    Here's a quick rundown of the type of support included with this offering:

    • Configuration support. Red Hat will help customers with Spring Boot configuration so it runs properly on OpenShift. This is no different from helping customers properly configure Red Hat products.
    • Workaround support. As with any product, if a Spring Boot application is not working as developers assumed it should, but in reality, it is actually working as defined, then in these cases, Red Hat will work with a customer to help find another means of achieving a solution.
    • Product integration support. RHOAR’s Spring Boot support includes support for many Red Hat–led open source frameworks and platforms. Some examples include OpenShift, Tomcat, Undertow, and Red Hat Single Sign-On/Keycloak. This list continues to grow over time as Red Hat continues to integrate Spring Boot with more of Red Hat’s product portfolio.
    • New feature requests. Red Hat will entertain Red Hat product feature requests to optimize Red Hat product usage with Spring Boot applications. When reasonable to do so, Red Hat will work upstream within the Spring community to advocate on a customer’s behalf for requested Spring Boot functionality.
    • Bug fixes. When bugs have been identified in Spring code, Red Hat will work on addressing those bugs. For non-critical issues, Red Hat will work in the upstream Spring community to address the issue. When an issue is addressed within the Spring community, the fix may be available in a future Spring update. For critical severity 1 issues that Red Hat can immediately address, Red Hat may provide the customer an immediate fix to get them up and running as quickly as possible while also working to address the issue in the Spring community. Red Hat wants to stay true to the Spring community distribution. For issues that cannot be addressed within the Spring community, Red Hat offers Workaround Support (see above).

    Additional considerations

    Red Hat provides binaries only for those Spring frameworks that it leads and distributes (for example, Undertow, Hibernate, embedded Tomcat, Keycloak, and Apache CXF). Other components are still distributed via their normal channels (for example, Maven Central). These components are consumed via Spring Boot Starters.

    Launching into OpenShift

    The following figure shows launching Spring Boot applications into OpenShift:

    Launching Spring Boot Applications into OpenShift

    Using developers.redhat.com/launch you can immediately create and deploy a Spring Boot application directly to Red Hat OpenShift Online or to your own local OpenShift cluster. It provides a hassle-free way of creating example applications, called boosters, as well as an easy way to build and deploy those boosters to OpenShift.

    Boosters are available to showcase how developers can use Spring Boot to build fundamental building blocks of cloud-native applications and services, such as creating secured RESTful APIs, implementing health checks, externalizing configuration, or integrating with the OpenShift Service Mesh based on the Istio project.

    Test driving a sample app using Spring Boot

    Spring Boot is a Java framework, and as such, it can be run using OpenJDK. Let's test drive one of the Spring Boot boosters on OpenShift. (Here I am using the Red Hat Container Development Kit, but any OpenShift cluster will do.) The following is one set of commands you could use to pull the OpenJDK image to your local system for use with Spring Boot:

    oc new-project spring-boot
    oc import-image java:8 --from=registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift --confirm

    Then, the following commands could be used to build and deploy the Spring Boot application to Red Hat OpenShift:

    oc new-app --name rest-example 'java:8~https://github.com/snowdrop/spring-boot-http-booster#1.5.17-4-redhat'
    oc expose svc/rest-example

    You can watch the build take place:

    oc logs -f bc/rest-example

    Once the build completes, wait for the deployment to finish:

    oc rollout status -w dc/rest-example

    And then access the sample app's UI:

    open http://$(oc get route rest-example -o jsonpath='{.spec.host}{"\n"}')

    Red Hat customers using the OpenJDK distribution to run Spring Boot applications will be able to keep current with the latest updates, security advisories, knowing when and why containers are updated, and remaining up to date on the latest available tagged OpenJDK image.

    Documentation

    The RHOAR team has been continuously adding to and improving the official documentation for developers creating Spring Boot applications. This includes updates in the Release Notes, Getting Started Guide, and the new Spring Boot Runtime Guide. (Note that the guide is in the process of being updated for the latest version.)

    Developer interactive learning scenarios

    These self-paced scenarios provide you with a pre-configured OpenShift instance, accessible from your browser without any downloads or configuration. Use it to experiment with building Spring Boot applications on OpenShift and building applications with various Spring frameworks and Red Hat technologies. The following figure shows interactive learning scenarios on learn.openshift.com:

    Interactive learning scenarios on learn.openshift.com

    Getting support for Spring Boot

    Support for Spring Boot is available to Red Hat customers through a subscription to Red Hat OpenShift Application Runtimes. Contact your local Red Hat representative or Red Hat Sales for details on how you can enjoy world-class support offered from Red Hat and its worldwide partner network.

    Moving forward, customers can expect support for Spring Boot and other RHOAR runtimes according to the Red Hat Product Update and Support Lifecycle.

    What’s next for Spring Boot support?

    The RHOAR Spring Boot team is continually taking feedback from customers and the wider community of open source developers, as well as tracking the upstream Spring Boot releases. They are working to make updates to RHOAR based on that feedback, as well as considering support for additional modules from Red Hat and the very large Java community.

    The people behind Red Hat's Spring Boot support

    This offering was produced by Red Hat’s RHOAR product and engineering team and involved many hours of development, testing, writing documentation, testing some more, and working with the wider Red Hat community of customers, partners, and Spring developers to incorporate contributions, both big and small. We are glad you have chosen to use it and hope that it meets or exceeds your expectations!

    Spring Boot resources

    • Red Hat OpenShift Application Runtimes Developer home page
    • Spring Boot Runtime Guide
    • Spring Boot Issue Tracker
    • Interactive Learning Scenarios for Spring Boot on OpenShift
    • RHOAR launcher
    Last updated: January 12, 2024

    Recent Posts

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    • Configure a split disk on OpenShift Container Platform

    • Red Hat Enterprise Linux 10.2 and 9.8: Top features for developers

    • What GPU kernels mean for your distributed inference

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.