Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
I see few posts talking about drools and also on drools site about drool integeration with spring. But can't find any docs here on spring or on drools on how to user drools with spring. Can someone please help!
Comming in the next month, in the 2.1 release, will be a much deeper spring integration. This is the version that I currently use in our trading system. Nearly all of the development is complete and checked into the cvs head, I only have some jira issues that need to be resolved. There are examples using the drools-spring in the drools-spring-examples module. The main bulk of the remaining work is the documentation, which I am working on presently.
Note that this spring integration is different than that of spring-modules. Drools-spring does not use jsr94 nor the drools .drl xml format. All rules are POJOs and are configured directly in the spring context files. The rule POJOs can be annoted using jdk5 (like in drools-annotation), or for pre jdk5 there are other strategies for declaring the rules, conditions, and consequences. Have a look at the HVAC example (ported from the Jess in Action book). If you have any questions, or better suggestions, feel free to ask on the drools mailing list.