<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I can't say much about drools server. I went for a Spring web app wrapping a stateful session, and exposing itself to .NET applications via a SOAP API and a bit of REST. But that's cos I like Spring. :)</div><div><br></div><div>If you do need to work with a stateful session, you shouldn't need to 'isolate' any data as such. You can insert facts relating to all users into working memory and then include the user ID on a request when you insert it into working memory. That way, you just need your rules to have constraints that match a user fact to some other fact on which you're making decisions.&nbsp;Treat it a bit like a join in a database. You keep data relating to all your users in the database, but when you query the database, you join/filter on the user ID, or some other relevant key.</div><div><br></div><div>Steve</div><div><br></div><div><br></div><br><div><div>On 14 Feb 2013, at 16:27, Tim Slonaker &lt;<a href="mailto:tslonaker+drools@gmail.com">tslonaker+drools@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p class="MsoNormal">Hello all,</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p class="MsoNormal">I am new to drools.&nbsp; My company is looking into
switching from a commercial rule engine to drools.&nbsp; Our existing codebase
is .net not Java.&nbsp; We are trying to integrate drools into our existing
.net application by calling into a drools-server using it’s restful
interface.&nbsp; </p><div>&nbsp;<br class="webkit-block-placeholder"></div><p class="MsoNormal">Our current rule engine only works in a stateless mode so I
am trying to figure out how to get drools-server to work in a stateless
mode.&nbsp; I have posted before that I have been having difficulty using a
stateless session with ruleflows (<a href="http://drools.46999.n3.nabble.com/Ruleflow-not-working-with-stateless-session-in-drools-server-5-5-0-Final-td4021624.html">http://drools.46999.n3.nabble.com/Ruleflow-not-working-with-stateless-session-in-drools-server-5-5-0-Final-td4021624.html</a>).&nbsp;
I have noticed that the stateful sessions seem to work fine as far as ruleflows
are concerned. &nbsp;I am wondering if I can use a stateful session instead of
stateless.</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p class="MsoNormal">Our application could have 100s of unique users per
minute.&nbsp; The rule engine provides a unique decision for each user based on
their specific data.&nbsp; So, each user’s data / facts should be
isolated.&nbsp; There can’t be any data sharing between users, that would make
the rule engine decisions invalid.&nbsp; How would I configure a stateful session to work in this scenario?&nbsp; Is it possible?</p><div>&nbsp;<br class="webkit-block-placeholder"></div><p class="MsoNormal">Thanks,</p><p class="MsoNormal">Tim S.</p>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></body></html>