If you don&#39;t want to define your model as Java classes you can define it in drl syntax: <a href="http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html#d0e3390">http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html#d0e3390</a><div>

<br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 12:06 PM, santiago carbonell <span dir="ltr">&lt;<a href="mailto:scarbonell@ono.com">scarbonell@ono.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I&#39;m new in drools and I&#39;m doing some test with this fantastic engine. With<br>
Drools, I&#39;ve loaded a drl file with some rules and ran with drools engine<br>
and works perfect, but I got to preset/programming some classes in Java<br>
about the domain where rules worked.<br>
<br>
I&#39;d like to load this domain, this &quot;classes&quot; as a file, like drl files, but<br>
insted of rules, I&#39;d like to load classes, or domain, so I&#39;d needn&#39;t to<br>
preset/programming this classes in Java.<br>
<br>
My question is how can I load this classes in some file, like drl files with<br>
rules? Is like templates in clips.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/programming-classes-to-represent-domain-in-Drools-like-templates-tp3506503p3506503.html" target="_blank">http://drools.46999.n3.nabble.com/programming-classes-to-represent-domain-in-Drools-like-templates-tp3506503p3506503.html</a><br>


Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
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>
</font></span></blockquote></div><br></div>