[rules-users] Global variables and multiple processes

Thomas Zwifl tom238 at gmx.at
Tue Jul 21 05:07:58 EDT 2009


hi!
i am using drools 5.1 snapshot release.
i built up following application:
  * at the beginning the sourcefiles (*.rf, *.drl) are parsed
  * the app has multiple service objects. 
  * each service object gets a reference to the same KnowledgeBase
    (created prior)
  * in the constructor of a service, a StatefulKnowledgeSession
    is created, and the global variables are assigned to the session.
  * after all services are created, they a started (methodcall    startService())
  * within this method, there is the following code:


-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser



More information about the rules-users mailing list