This is probably a question the answer for which could best be researched on Google (other search engines are available).

A SAR is a Service MBean that allows you to integrate arbitrary services to JBoss AS as MBeans. I'd therefore suggest you read up on using MBeans.

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.

I could be wrong.

With kind regards,

Mike

On 15 December 2011 14:14, srinivasasanda <srinivasasanda@gmail.com> wrote:
Hi Sir,

I have another Problem Please try to give some suggestion.

how can i  provide my Kbase object loaded with all packages is at one
context , and can i make it  available to other context applications or
webservices

Ex:My actual scenario is :I created all my rules and loaded my application
as

 KnowledgeBuilder kbuilder1 = KnowledgeBuilderFactory.newKnowledgeBuilder();
 KnowledgeBase kbase1 = readKnowledgeBase();

// Like this i added some 50 packages and build single kbase haveing 15000
rules
kbuilder1.add(ResourceFactory.newUrlResource("http://localhost:8082/guvnor-5.3.0.Final-jboss-as-5.1/org.drools.guvnor.Guvnor/products/mortgages/LATEST"),ResourceType.PKG);
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder1.getKnowledgePackages());


This code i made it  as .sar file,so it loads automatically when server
start up without user control --
which is loaded is in one context, as per  my understanding kbase object is
present in that context.
Now can I make that  kbase object available to web service which is present
in some other context(some other application) , so that web service can make
use of kbase which is already available (Instead of creating  and loading
new kbase)..

So far,you suggested so many solutions.Hope you will help me to get out of
this problem.

Thanks

--
View this message in context: http://drools.46999.n3.nabble.com/XML-Rule-Language-Please-help-tp3587815p3588682.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users