jack wu wrote:
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.
Dialects make no difference to what you can
assert. The dialect is
simple the lanage used to execute returnValue, inlne-evals, evals and
consequences. You can choose Java or MVEL, or plugin your own.
jack.
------------------------------------------------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<
http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch...
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users