Thank you both for the replies. I think I'll try storing it in xml. A rule repository would be nice! I'll try implementing that at a later date. For those interested, here is the link: http://jlibrary.sourceforge.net/11/drools.html Rules Management Repository with jLibrary and Drools
mriyaz wrote: > > Try to store it as xml file instead of DRL; In drl, parsing it back to UI > is > quite complex. > > In order maintain versioning, write drl content into rules repository > using > jcr library for the retrieval of version you modified. > > Regards, > Riyaz > > On 9/17/08, Marcus Ilgner <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> On Mon, Sep 15, 2008 at 10:11 PM, imraan <[EMAIL PROTECTED]> >> wrote: >> > >> > Users in my system will be able to configure their own rules to an >> extent >> > through a UI. I will create these rules programmatically using the >> > org.drools.lang.descr package. Right now, I am trying to see if its >> > possible to store the RuleDescr or PackageDescr object(s) in a >> database. Is >> > there another way to store these objects in a database besides storing >> the >> > contents of a DRL dump? >> > >> > Thanks, >> > Imraan >> >> those objects implement java.io.Serializable, so you can directly >> write them to and from a storage type of your liking. >> >> Best regards >> Marcus >> _______________________________________________ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > > -- View this message in context: http://www.nabble.com/Storing-RuleDescr-and-or-PackageDescr-in-a-database-table-tp19500167p19557349.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users