[rules-users] Storing RuleDescr and/or PackageDescr in a database table

Mohamed Riyaz riyazenayath at gmail.com
Thu Sep 18 01:29:37 EDT 2008


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 <marcus.ilgner at gmail.com> wrote:
>
> Hi,
>
> On Mon, Sep 15, 2008 at 10:11 PM, imraan <imraan.dhira at impactmobile.com>
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080918/d91645ff/attachment.html 


More information about the rules-users mailing list