This is probably a question the answer for which could best be researched on Google (other search engines are available).<br><br><span class="postbody">A SAR is a Service MBean that allows you to integrate arbitrary services to JBoss AS as MBeans.</span> I'd therefore suggest you read up on using MBeans.<br>
<br>I won't even pretend to know much, personally, about these but know asking MBean questions on a Drools mailing list may not be the best place.<br><br>I could be wrong.<br><br>With kind regards,<br><br>Mike<br><br>
<div class="gmail_quote">On 15 December 2011 14:14, 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">
Hi Sir,<br>
<br>
I have another Problem Please try to give some suggestion.<br>
<br>
how can i provide my Kbase object loaded with all packages is at one<br>
context , and can i make it available to other context applications or<br>
webservices<br>
<br>
Ex:My actual scenario is :I created all my rules and loaded my application<br>
as<br>
<br>
KnowledgeBuilder kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder();<br>
KnowledgeBase kbase1 = readKnowledgeBase();<br>
<br>
// Like this i added some 50 packages and build single kbase haveing 15000<br>
rules<br>
kbuilder1.add(ResourceFactory.newUrlResource("<a href="http://localhost:8082/guvnor-5.3.0.Final-jboss-as-5.1/org.drools.guvnor.Guvnor/products/mortgages/LATEST" target="_blank">http://localhost:8082/guvnor-5.3.0.Final-jboss-as-5.1/org.drools.guvnor.Guvnor/products/mortgages/LATEST</a>"),ResourceType.PKG);<br>
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();<br>
kbase.addKnowledgePackages(kbuilder1.getKnowledgePackages());<br>
<br>
<br>
This code i made it as .sar file,so it loads automatically when server<br>
start up without user control --<br>
which is loaded is in one context, as per my understanding kbase object is<br>
present in that context.<br>
Now can I make that kbase object available to web service which is present<br>
in some other context(some other application) , so that web service can make<br>
use of kbase which is already available (Instead of creating and loading<br>
new kbase)..<br>
<br>
So far,you suggested so many solutions.Hope you will help me to get out of<br>
this problem.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/XML-Rule-Language-Please-help-tp3587815p3588682.html" target="_blank">http://drools.46999.n3.nabble.com/XML-Rule-Language-Please-help-tp3587815p3588682.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>