Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JBoss: Developer's Guide

You're reading from   JBoss: Developer's Guide A complete guide to the JBoss ecosystem

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781788296199
Length 328 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Elvadas Nono Woguia Elvadas Nono Woguia
Author Profile Icon Elvadas Nono Woguia
Elvadas Nono Woguia
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to the JBoss Ecosystem 2. Developing and Hosting Scalable Web Applications FREE CHAPTER 3. Custom Web Deployment using Undertow and Swarm 4. Storing and Accessing Distributed Data 5. Exposing Data as a Service 6. Integrating Applications with JBoss Fuse 7. Delivers Information Safely and Connects IoT 8. Making Better Decisions in Your Applications 9. Developing Workflows

 Real-time decisions with BRMS

The standard deployment scenario for a BRMS application includes the following steps:

  1. Create POJO fact classes.
  2. Creating business rules.
  3. Use the KIE API to create a KieContainer or the production memory, which is a repository holding the whole knowledge of the application.
  4. Create a KieSession object to maintain a conversation state with the Business Engine.
  5. Insert POJO Facts in the session.
  6. Fire rules.
  7. Handle Facts.

For an external application, there are various mechanisms to interact with a business rule:

  • The fat jar approach: This is the possibility given to developers to incorporate rules in their applications, code and provide a single deployment unit. Once a rule or code changes, the whole package needs to be redelivered. This option relies on the KieService API provided to load business rules from the application classpath.
  • The second...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime