[rules-users] what is "pluggable dialects"

jack wu jackxwu at yahoo.com
Wed Jan 9 17:29:15 EST 2008


i read the documentation saying drools 4.x supports pluggable dialects, but i can't find anything else that explains what it is. i think by default i am using java dialect. and there is a MVEL dialect. is that it? 

i am trying to see if there is a way to not use java beans as fact objects.

i have been looking to the MVEL website where they have a sample like this:

Map vars = new HashMap();
vars.put("x", new Integer(5));
vars.put("y", new Integer(10));

Integer result = (Integer) MVEL.eval("x * y", vars);
my question is if i use MVEL dialect, can i pass in a Map similar to the above for fact objects? Thanks.

jack.

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080109/6e2e3a59/attachment.html 


More information about the rules-users mailing list