Here&#39;s what I do:<br><br>We inject KnowledgeBases into our app using Spring. It was a simple matter of just implementing a builder class that takes a bunch of drools Resources and adding a build() method to create the KnowledgeBase and then creating a class that implements Spring FactoryBean and InitializingBean to construct the builder and convert Spring resources to Drools ones and calling the builder.build() method in the afterPropertiesSet(). <br>
<br>There is one currently open bug in drools that means we have to cast to a class from the old api to add accumulate functions.<br><br>cheers<br>Steve<br>
<br><br><div class="gmail_quote">2009/4/3 Abu Rasheed <span dir="ltr">&lt;<a href="mailto:aburasheed@studentmasjid.com">aburasheed@studentmasjid.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are there any plans to have Spring support in drools-api? The last mail that I saw in searching the topic is dated last year, and there are no new postings related to this.<br><br>Does anyone have any success in injecting KnowledgeBase into their apps using Spring? Is there any examples out there that I can refer to?<br>

<br>Thanks<br><br>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>