[rules-users] Re: repository documentation

John Verhaeg jverhaeg at jboss.org
Mon Jan 7 11:44:10 EST 2008


Massi Gmail <mmquelo <at> gmail.com> writes:

> 
> http://labs.jboss.com/drools/livetrails/index.html
> 
> Does it help You?

These are nice demos, so thanks for pointing them out, but unless I'm missing
something they don't realize address my problem.  I understand how to work with
Drools in regard to creating DRL/DSL files and, in code, how to create a
rulebase, session, etc, insert model objects, create packages from
DRLs, and execute/fireAllRules.  But what I want to do is, in code and *not*
through the BRMS, create a Drools repository and populate it (i.e., import
content from DRLs/DSLs, model classes, etc.) via some API call.  In other words,
how do I get the normal Drools artifacts, such as rules and facts,
encapsulated/encoded within JCR nodes in a manner that will be compatible with
tools like the BRMS?




More information about the rules-users mailing list