But consider that rules referring to POJO fields are compile-time checked<br>whereas rules based on keys to Map entries will always compile (and only fail at run time).<br>-W<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 5:27 PM, HonorGod <span dir="ltr">&lt;<a href="mailto:jagadeesh.motamarri@barclayscapital.com">jagadeesh.motamarri@barclayscapital.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
The things you mentioned about hashmap are true. But the only concern in<br>
terms of flexibility - if I were to add a new column / condition in my<br>
database / drools, it will be a new release because I need to update my pojo<br>
to reflect new changes. Updating decision table / rules is not problem<br>
because you got to do so if some rule is added.<br>
<br>
Thank you,<br>
Jagadeesh.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Better-Performance-and-Maintainability-tp136941p138193.html" target="_blank">http://n3.nabble.com/Better-Performance-and-Maintainability-tp136941p138193.html</a><br>

</font><div class="im">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>