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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to