[rules-users] How Can I share data in different Scope and Contexts ?

Mark Proctor mproctor at codehaus.org
Fri Dec 7 19:56:26 EST 2007


Saul wrote:
> Hi. I am new with drools,  I have being thinking if drools can do the 
> following requirement, I have a application with different context:
>
> 1. aplicationContext: keep all information an fact relationship with the 
> system ( calendar, configuration data, etc)
> 2. sessionContext: keep information an fact of my session ( user information, 
> module data ( loan module), etc)
> 3. serviceContext: keep information an fact of the services ( open loan, 
> payment loan , etc)
>
> My question is: Can I have different context or scope (with data) linking to 
> the working memory (WM). My target is keeping the information shareable 
> between different context and fire rule in ServiceContext using the data from 
> my previous contexts (application and session).
>
> Or I have to create one WM to every Service Context and insert all my fact of 
> the others context (application and session), I don´t like this one.
>   
All data that you wish the engine to reason over must be asserted into 
the engine.
>
> Best Regard
>
> Paul Cuesta
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>   




More information about the rules-users mailing list