Name the types of interfaces in the Knowledge Session and differentiate between them.

devquora
devquora

Posted On: Feb 22, 2018

 

The two types of interfaces in knowledge sessions are:

  • Stateless Knowledge Session
  • Stateful Knowledge Session
S.NoStateless SessionStateful Session
1The engine rule is not made well aware of all the changes in the facts during executionThe engine rule is made well aware of all the changes in the facts during execution
2The code used to automatically release the session is dispose()The code dispose of () is used manually to release the session and avoid any kind of memory loss
3No reactivation of rules take place as the engine is not made aware of the changesEven the slightest reactivation of rules will aggravate the rules that are built on the altered facts

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Drools Interview Questions

    What do you mean by “Drool”?

    Drool is a Business Rule Management System that is produced and distributed by the JBoss Community...

    Drools Interview Questions

    How is Drool different from other programming languages?

    Other programming languages work on a certain set pattern and do not offer many modifications to be applied for the coding...

    Drools Interview Questions

    List the essential components of the JBoss enterprise.

    Some of the essential components of the JBoss enterprise include:..