fyi annotated rules will be dropped from the 3.0 release lines.
Mark
Tushar T wrote:
Hi,
I am in a process of using Drools (version 2.1) for development of an
application. I want to make use of JDK 5.0 annotations for defining
rules but I dont want to load them in Spring's Application Contest. I
have seen the Java Annotation Semantics and documentation for the
same, but I was not able to create rule base for plain annotated rule
POJOs.
The work around I could find is to use drools-annotation-2.0.jar which
supports annotations like @DroolsRule.
Can somebody please comment, if it possible to use Drools 2.1
annotation semantics, without loading the rules in application context?
If yes, then how to do it?
Thanks in advance.
Tushar