Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

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

 

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

Share:

    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

    • Migrating Ansible Automation Platform 2.4 to 2.5

    • Multicluster resiliency with global load balancing and mesh federation

    • Simplify local prototyping with Camel JBang infrastructure

    • Smart deployments at scale: Leveraging ApplicationSets and Helm with cluster labels in Red Hat Advanced Cluster Management for Kubernetes

    • How to verify container signatures in disconnected OpenShift

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue