Skip to main content
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 Red Hat 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

    • Red Hat OpenShift AI
    • 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.

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

    • 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.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

Spring Boot-enabled business process automation with Red Hat Process Automation Manager

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

November 1, 2018
Duncan Doyle
Related topics:
KubernetesMicroservicesSpring Boot
Related products:
Developer Toolset

    With the release of version 7.1 of Red Hat Process Automation Manager (RHPAM), the platform now supports the deployment of the process automation manager runtime as a "capability" within Spring Boot applications. As Maciej Swiderski, the project lead for jBPM.org (the upstream community project for RHPAM) explained earlier this year, the KIE (Knowledge Is Everything) platform on which RHPAM is built provides Spring Boot Starters to quickly build a business application or microservice with process and case execution capabilities using a minimal amount of code.

    Spring Boot Starters comprise a set of dependency descriptors that can be added to your application to easily set up the right dependencies for your project. RHPAM now provides support for the following five starters. This gives you the flexibility to choose exactly the process automation functionality you need in your Spring Boot application:

    • jbpm-spring-boot-starter-basic: Adds jBPM capabilities to your application. It provides the jBPM/RHPAM-embedded runtime and services to run the process execution engine within your application.
    • kie-server-spring-boot-starter: Adds KIE Server capabilities to your application. This allows you to run the KIE Server services and RESTful APIs within your application. This starter provides all the business automation features that Process Automation Manager has to offer. This includes process and case execution (jBPM), (business) rules and DMN (Decision Model & Notation) execution (Drools), and business resource optimization (OptaPlanner).
    • kie-server-spring-boot-starter-drools: Same as kie-server-spring-boot-starter, but has only rules and DMN execution (Drools) capabilities.
    • kie-server-spring-boot-starter-jbpm: Same as kie-server-spring-boot-starter, but has only rules and process and case execution (jBPM) capabilities.
    • kie-server-spring-boot-starter-optaplanner: Same as the kie-server-spring-boot-starter, but has only business resource optimization (OptaPlanner) capabilities.

    Cloud-native process automation capabilities

    The KIE Spring Boot Starters enable new and interesting ways to deploy business automation capabilities in IT architectures. In the cloud and container world of today, business process execution is starting to shift from the traditional, centralized deployments of process execution engines (from the SOA era) to a more agile, de-centralized deployment of smaller process definitions. These smaller process deployments fit extremely well in a microservices architecture. In these architectures, they can either orchestrate microservices, be part of a microservices choreography, or be a mix of both.

    The diagram below shows a high-level overview of how the jBPM process execution engine can be deployed as a capability within a microservices architecture. In this example, both the Order Service and Shipping Service use the process execution capability of jBPM, while the Pricing Service and Promotion Service use the rules execution capability of Drools.

    High-level overview of how the jBPM process execution engine can be deployed as a capability within a microservices architecture

    Lightweight runtimes and deployment models are needed that can run these process instances in a cloud-native way on modern container platforms such as Red Hat OpenShift. Version 7.0 of Process Automation Manager already provides full support for OpenShift deployments with OpenShift KIE Server images. Version 7.1 provides the developer community even more flexibility by allowing developers to integrate advanced business automation capabilities in their Spring Boot applications and microservices and deploy them on modern Kubernetes clusters. This enables the development of even smaller, lighter services with more-advanced capabilities to automate business process execution, business rules execution and evaluation, and business resource optimization.

    Enterprise process management

    With the introduction of more lightweight options for automating business process management and execution, enterprise-class management capabilities and insights into these automated processes still need to be provided. After all, these processes implement the value chain of the organization and, therefore, need to be effectively managed. As such, KIE Server enabled Spring Boot runtimes integrate with the KIE Server Controller and KIE Server SmartRouter, enabling easy integration with the Process Automation Manager Business Central workbench. This enables end users to monitor and manage their distributed, containerized, business automation topology from a centralized (or distributed!) admin console.

    KIE-Server capability deployed in a Spring Boot application

     

    As can be seen in the screenshot above, KIE Server capability deployed in a Spring Boot application is registered as a "managed" KIE Server runtime within the Business Central management console. This allows system administrators and operators to efficiently and effectively manage the enterprise process runtime, even in a distributed, cloud-native and containerized runtime topology.

    Demo

    A demo of this new functionality is provided with the new Order IT Hardware demo in the JBoss Demo Central GitHub repository. The application demonstrates an IT hardware order system, built on the case management capabilities of Process Automation Manager 7. The process engine and KIE Server run embedded in a Spring Boot application and are managed by the RHPAM Business Central workbench. Furthermore, RESTful integration with a Vert.x microservice is demonstrated, as well as an implementation of the Saga Pattern in BPMN2.

    The code of the Spring Boot application can be found here. This dependency in the project's Maven POM file shows the configuration of the KIE Server Spring Boot Starter. By simply marking the application as a Spring Boot application through the @SpringBootApplication annotation, the KIE Server capabilities are bootstrapped inside the application.

    The demo includes a complete walkthrough guide that provides full instructions on how to set up the demo on OpenShift and run through a full end-to-end use-case.

    Conclusion

    With the release of Red Hat Process Automation Manager 7.1, developers of modern, light-weight applications on Spring Boot now have the ability to enhance and augment their applications with business process and business rules execution capabilities through the new KIE Spring Boot Starters. With the support of these business applications and services on OpenShift, Red Hat Process Automation Manager enables the implementation of distributed process and rules management on modern container platforms. At the same time, the integration with the Business Central workbench provides enterprise-wide capabilities to effectively and efficiently monitor and manage these business processes and rules in a distributed production environment.

     

    Duncan Doyle

    About the author:

    Duncan Doyle is the Technical Marketing Manager for the Red Hat Business Automation platforms at Red Hat. With a background in Red Hat Consulting and Services, Duncan has worked extensively with large Red Hat customers to build advanced, open-source, business-rules and business process management solutions.

    He has a strong background in technologies and concepts like Service Oriented Architecture, Continuous Integration & Delivery, rules engines and BPM platforms and is a subject matter expert (SME) on multiple JBoss Middleware technologies, including, but not limited to, JBoss EAP, HornetQ, Fuse, DataGrid, BRMS and BPMSuite. When he’s not working on open-source solutions and technology, he is building Lego with his son and daughter or jamming along some 90’s rock-music on his Fender Stratocaster.

    Last updated: January 22, 2024

    Recent Posts

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    Red Hat Developers logo

    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
    Ask AI