OK, let me step back.<br><br>Do you mean contexts of page, request and application in a single web-application, or different contexts (i.e. applications) on a web-server?<br><br>If the latter why would you want to do that? Isn't it likely different applications require different KnowledgeBases. In this instance too I'd recommend exposing it as web-service that other contexts can call
into. AFAIK drools-server provides for this (Esteban or Salaboy may know
more). This would allow you to scale horizontally if your consuming
contexts' load increased.<br><br>If you mean to share a KnowledgeBase across different HTTP requests then I believe the common pattern is to store it in application scope and create different stateless sessions for each request.<br>
<br><div class="gmail_quote">On 15 December 2011 16:42, srinivasasanda <span dir="ltr"><<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Manstris<br>
<br>
is there any api in drools to make its kbase object to available to any<br>
context<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Can-we-make-our-kbase-object-available-from-one-context-to-another-context-one-application-to-anothe-tp3588689p3589172.html" target="_blank">http://drools.46999.n3.nabble.com/Can-we-make-our-kbase-object-available-from-one-context-to-another-context-one-application-to-anothe-tp3588689p3589172.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>