O'Reilly logo

JBoss: Developer's Guide by Elvadas Nono Woguia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required