[rules-users] Running drools 4 code using drools 5 jars

Macon Pegram mpegram3rd at gmail.com
Wed Sep 9 05:51:10 EDT 2009


It is my understanding that the "Rule" apis are being discouraged in favor
of the "Knowledge" APIs.   They do still work in Drools 5 however, so you
should be ok just using that Jar file.

In my own project it was actually quite easy to make the switch since most
of the APIs are basic renamings.  I was able to flip my project in under and
hour from "Rule" based to "Knowledge" based.

2009/9/9 Nikhil D. Deshpande <Nikhil.Deshpande at mastek.com>

>  Hi,
>
>
>
> I have written some code using drools 4 jars.
>
> Now as drools 5 is launched, I want to migrate my existing ‘RuleBase’
> (drools 4) to ‘KnowledgeBase’(drools 5).
>
>
>
> 1.       Can I/Should I use RuleBase, PackageBuilder,
> ExternalSpreadSheetCompiler using drools 5 jars??
>
> I  can use these classes as they are present in  *
> drools-compiler-5.0.1.jar*
>
>
>
> Is anybody facing the same issue?
>
> Please let me know if somebody has a solution for this.
>
>
>
> *Thanks & Regards,*
>
> *Nikhil *
>
>
>
> MASTEK LTD.
> Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
> In the US, we're called MAJESCOMASTEK
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090909/93f49135/attachment.html 


More information about the rules-users mailing list