<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
jack wu wrote:
<blockquote cite="mid:358488.8748.qm@web82013.mail.mud.yahoo.com"
 type="cite">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? <br>
  <br>
i am trying to see if there is a way to not use java beans as fact
objects.<br>
  <br>
i have been looking to the MVEL website where they have a sample like
this:<br>
  <pre class="code-java">Map vars = <span class="code-keyword">new</span> HashMap();
vars.put(<span class="code-quote">"x"</span>, <span class="code-keyword">new</span> <span
 class="code-object">Integer</span>(5));
vars.put(<span class="code-quote">"y"</span>, <span class="code-keyword">new</span> <span
 class="code-object">Integer</span>(10));

<span class="code-object">Integer</span> result = (<span
 class="code-object">Integer</span>) MVEL.eval(<span class="code-quote">"x * y"</span>, vars);</pre>
my question is if i use MVEL dialect, can i pass in a Map similar to
the above for fact objects? Thanks.<br>
</blockquote>
Dialects make&nbsp; no difference to&nbsp; what you can assert. The dialect is
simple the lanage used to execute returnValue, inlne-evals, evals and
consequences. You can choose&nbsp; Java or MVEL, or plugin your own.<br>
<blockquote cite="mid:358488.8748.qm@web82013.mail.mud.yahoo.com"
 type="cite"><br>
jack.<br>
  <p> </p>
  <hr size="1">Looking for last minute shopping deals? <a
 moz-do-not-send="true"
 href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>