First of all you need to learn the basics about drools:
http://docs.jboss.org/drools/release/5.4.0.Beta1/droolsjbpm-introduction-...
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_...
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_...
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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users