[rules-users] java script to drl

Esteban Aliverti esteban.aliverti at gmail.com
Tue Dec 20 10:58:22 EST 2011


First of all you need to learn the basics about drools:
http://docs.jboss.org/drools/release/5.4.0.Beta1/droolsjbpm-introduction-docs/html_single/index.html
Then, you will need to learn about DRL syntax and how to use drools'
engine:
http://docs.jboss.org/drools/release/5.4.0.Beta1/drools-expert-docs/html_single/index.html
And finally, since JS is a client side language and drools (typically) runs
in server side, you will need to choose one of the existing integration
techniques:
http://docs.jboss.org/drools/release/5.4.0.Beta1/drools-expert-docs/html_single/index.html

As you can see, moving from JS to drools it is not a one step solution :)

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/12/20 G S <gshrestha1972 at gmail.com>

> I have a source code written in Java script but I want that logic to
> be written in .drl (drools). Any guidelines, or ideas how I can
> convert java script to rules?
> sample source code attached.
>
> _______________________________________________
> 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/20111220/e24c598b/attachment.html 


More information about the rules-users mailing list