If you don't want to define your model as Java classes you can define it in drl syntax: http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_single/index.html#d0e3390

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Mon, Nov 14, 2011 at 12:06 PM, santiago carbonell <scarbonell@ono.com> wrote:
Hi,

I'm new in drools and I'm doing some test with this fantastic engine. With
Drools, I've loaded a drl file with some rules and ran with drools engine
and works perfect, but I got to preset/programming some classes in Java
about the domain where rules worked.

I'd like to load this domain, this "classes" as a file, like drl files, but
insted of rules, I'd like to load classes, or domain, so I'd needn't to
preset/programming this classes in Java.

My question is how can I load this classes in some file, like drl files with
rules? Is like templates in clips.

Thanks


--
View this message in context: http://drools.46999.n3.nabble.com/programming-classes-to-represent-domain-in-Drools-like-templates-tp3506503p3506503.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users